]> granicus.if.org Git - python/commitdiff
#18424: PEP8ify the tense of the sum docstring.
authorR David Murray <rdmurray@bitdance.com>
Wed, 10 Jul 2013 20:22:14 +0000 (16:22 -0400)
committerR David Murray <rdmurray@bitdance.com>
Wed, 10 Jul 2013 20:22:14 +0000 (16:22 -0400)
Python/bltinmodule.c

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