summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-07-10 20:22:14 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-07-10 20:22:14 (GMT)
commit87ead1138d11c92139182524eb50965fc652179f (patch)
tree991e5c0fa697eb3070196c68f891f7021cfe5742
parent296b73c83dd62173e104d4bf0c09b9b8f3a1b805 (diff)
downloadcpython-87ead1138d11c92139182524eb50965fc652179f.zip
cpython-87ead1138d11c92139182524eb50965fc652179f.tar.gz
cpython-87ead1138d11c92139182524eb50965fc652179f.tar.bz2
#18424: PEP8ify the tense of the sum docstring.
-rw-r--r--Python/bltinmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 75afa86..4fe8dac 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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 *