Repository: spark
Updated Branches:
  refs/heads/branch-0.9 267d96c3d -> 7ea89ec45


SPARK-1109 wrong API docs for pyspark map function

Author: Prashant Sharma <[email protected]>

Closes #73 from ScrapCodes/SPARK-1109/wrong-API-docs and squashes the following 
commits:

1a55b58 [Prashant Sharma] SPARK-1109 wrong API docs for pyspark map function

(cherry picked from commit 02836657cfec50bc6cc357541e40f8d36c90b352)
Signed-off-by: Matei Zaharia <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/7ea89ec4
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7ea89ec4
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7ea89ec4

Branch: refs/heads/branch-0.9
Commit: 7ea89ec4596f06fccd13973e049ac3f847c5c474
Parents: 267d96c
Author: Prashant Sharma <[email protected]>
Authored: Tue Mar 4 15:32:43 2014 -0800
Committer: Matei Zaharia <[email protected]>
Committed: Tue Mar 4 15:33:00 2014 -0800

----------------------------------------------------------------------
 python/pyspark/rdd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/7ea89ec4/python/pyspark/rdd.py
----------------------------------------------------------------------
diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py
index 1ad4b52..60d4cb2 100644
--- a/python/pyspark/rdd.py
+++ b/python/pyspark/rdd.py
@@ -163,7 +163,7 @@ class RDD(object):
 
     def map(self, f, preservesPartitioning=False):
         """
-        Return a new RDD containing the distinct elements in this RDD.
+        Return a new RDD by applying a function to each element of this RDD.
         """
         def func(split, iterator): return imap(f, iterator)
         return PipelinedRDD(self, func, preservesPartitioning)

Reply via email to