You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/06/12 17:11:06 UTC
git commit: fixed typo in docstring for min()
Repository: spark
Updated Branches:
refs/heads/master 4d8ae709f -> 43d53d51c
fixed typo in docstring for min()
Hi, I found this typo while learning spark and thought I'd do a pull request.
Author: Jeff Thompson <je...@gmail.com>
Closes #1065 from jkthompson/docstring-typo-minmax and squashes the following commits:
29b6a26 [Jeff Thompson] fixed typo in docstring for min()
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/43d53d51
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/43d53d51
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/43d53d51
Branch: refs/heads/master
Commit: 43d53d51c9ee2626d9de91faa3b192979b86821d
Parents: 4d8ae70
Author: Jeff Thompson <je...@gmail.com>
Authored: Thu Jun 12 08:10:51 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Thu Jun 12 08:10:51 2014 -0700
----------------------------------------------------------------------
python/pyspark/rdd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/43d53d51/python/pyspark/rdd.py
----------------------------------------------------------------------
diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py
index 9c69c79..8a215fc 100644
--- a/python/pyspark/rdd.py
+++ b/python/pyspark/rdd.py
@@ -695,7 +695,7 @@ class RDD(object):
def min(self):
"""
- Find the maximum item in this RDD.
+ Find the minimum item in this RDD.
>>> sc.parallelize([1.0, 5.0, 43.0, 10.0]).min()
1.0