[Python-checkins] cpython (2.7): #18424: PEP8ify the tense of the sum docstring.
r.david.murray
python-checkins at python.org
Wed Jul 10 22:23:50 CEST 2013
http://hg.python.org/cpython/rev/c5f5b5e89a94
changeset: 84534:c5f5b5e89a94
branch: 2.7
parent: 84478:5d41ebc79738
user: R David Murray <rdmurray at bitdance.com>
date: Wed Jul 10 16:23:15 2013 -0400
summary:
#18424: PEP8ify the tense of the sum docstring.
files:
Python/bltinmodule.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -2434,9 +2434,9 @@
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 *
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list