Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrapCodes committed Apr 2, 2014
1 parent e8a08e2 commit 2b1124d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/rdd.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ def top(self, num):
>>> sc.parallelize([10, 4, 2, 12, 3]).top(1)
[12]
>>> sc.parallelize([2, 3, 4, 5, 6], 2).cache().top(2)
[5, 6]
[6, 5]
"""
def topIterator(iterator):
q = []
Expand Down

0 comments on commit 2b1124d

Please sign in to comment.