mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Merge: #18424: PEP8ify the tense of the sum docstring.
This commit is contained in:
commit
acb362e29f
1 changed files with 2 additions and 2 deletions
|
|
@ -2113,9 +2113,9 @@ builtin_sum(PyObject *self, PyObject *args)
|
||||||
PyDoc_STRVAR(sum_doc,
|
PyDoc_STRVAR(sum_doc,
|
||||||
"sum(iterable[, start]) -> value\n\
|
"sum(iterable[, start]) -> value\n\
|
||||||
\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\
|
of parameter 'start' (which defaults to 0). When the iterable is\n\
|
||||||
empty, returns start.");
|
empty, return start.");
|
||||||
|
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue