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

Skip to content

Commit f7c8584

Browse files
committed
python#18424: PEP8ify the tense of the sum docstring.
1 parent cc879a0 commit f7c8584

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
@@ -2434,9 +2434,9 @@ builtin_sum(PyObject *self, PyObject *args)
24342434
PyDoc_STRVAR(sum_doc,
24352435
"sum(sequence[, start]) -> value\n\
24362436
\n\
2437-
Returns the sum of a sequence of numbers (NOT strings) plus the value\n\
2437+
Return the sum of a sequence of numbers (NOT strings) plus the value\n\
24382438
of parameter 'start' (which defaults to 0). When the sequence is\n\
2439-
empty, returns start.");
2439+
empty, return start.");
24402440

24412441

24422442
static PyObject *

0 commit comments

Comments
 (0)