]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#18424: PEP8ify the tense of the sum docstring.
authorR David Murray <rdmurray@bitdance.com>
Wed, 10 Jul 2013 20:23:15 +0000 (16:23 -0400)
committerR David Murray <rdmurray@bitdance.com>
Wed, 10 Jul 2013 20:23:15 +0000 (16:23 -0400)
Python/bltinmodule.c

index cdc908084fc243a568563dbdfba48b4c71945d6f..d22dca2f4879528cc002667fbbe900efee2cb6ea 100644 (file)
@@ -2434,9 +2434,9 @@ builtin_sum(PyObject *self, PyObject *args)
 PyDoc_STRVAR(sum_doc,
 "sum(sequence[, start]) -> value\n\
 \n\
-Returns the sum of a sequence of numbers (NOT strings) plus the value\n\
+Return the sum of a sequence of numbers (NOT strings) plus the value\n\
 of parameter 'start' (which defaults to 0).  When the sequence is\n\
-empty, returns start.");
+empty, return start.");
 
 
 static PyObject *