Skip to content

Commit 81fcb20

Browse files
committed
[SPARK-2470] PEP8 fixes to resultiterable.py
1 parent 1bde265 commit 81fcb20

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/pyspark/resultiterable.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import collections
2121

22+
2223
class ResultIterable(collections.Iterable):
2324
"""
2425
A special result iterable. This is used because the standard iterator can not be pickled
@@ -27,7 +28,9 @@ def __init__(self, data):
2728
self.data = data
2829
self.index = 0
2930
self.maxindex = len(data)
31+
3032
def __iter__(self):
3133
return iter(self.data)
34+
3235
def __len__(self):
3336
return len(self.data)

0 commit comments

Comments
 (0)