Skip to content

Commit

Permalink
Bug #1283491: follow docstring convention wrt. keyword-able args in s…
Browse files Browse the repository at this point in the history
…um().

git-svn-id: http://svn.python.org/projects/python/trunk@52315 6015fed2-1504-0410-9fe1-9d1591cc4771
  • Loading branch information
georg.brandl committed Oct 12, 2006
1 parent 1ff71cd commit 5590fa9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Python/bltinmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2055,10 +2055,11 @@ builtin_sum(PyObject *self, PyObject *args)
}

PyDoc_STRVAR(sum_doc,
"sum(sequence, start=0) -> value\n\
"sum(sequence[, start]) -> value\n\
\n\
Returns the sum of a sequence of numbers (NOT strings) plus the value\n\
of parameter 'start'. When the sequence is empty, returns start.");
of parameter 'start' (which defaults to 0). When the sequence is\n\
empty, returns start.");


static PyObject *
Expand Down

0 comments on commit 5590fa9

Please sign in to comment.