Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 87ead11

Browse files
committed
#18424: PEP8ify the tense of the sum docstring.
1 parent 296b73c commit 87ead11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/bltinmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,9 +2097,9 @@ builtin_sum(PyObject *self, PyObject *args)
20972097
PyDoc_STRVAR(sum_doc,
20982098
"sum(iterable[, start]) -> value\n\
20992099
\n\
2100-
Returns the sum of an iterable of numbers (NOT strings) plus the value\n\
2100+
Return the sum of an iterable of numbers (NOT strings) plus the value\n\
21012101
of parameter 'start' (which defaults to 0). When the iterable is\n\
2102-
empty, returns start.");
2102+
empty, return start.");
21032103

21042104

21052105
static PyObject *

0 commit comments

Comments
 (0)