diff options
Diffstat (limited to 'python/pyspark/resultiterable.py')
-rw-r--r-- | python/pyspark/resultiterable.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/python/pyspark/resultiterable.py b/python/pyspark/resultiterable.py index ef04c82866..1ab5ce14c3 100644 --- a/python/pyspark/resultiterable.py +++ b/python/pyspark/resultiterable.py @@ -15,15 +15,16 @@ # limitations under the License. # -__all__ = ["ResultIterable"] - import collections +__all__ = ["ResultIterable"] + class ResultIterable(collections.Iterable): """ - A special result iterable. This is used because the standard iterator can not be pickled + A special result iterable. This is used because the standard + iterator can not be pickled """ def __init__(self, data): |