Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 40113:635438b29673 legacy-trunk
Bug #1283491: follow docstring convention wrt. keyword-able args in sum().
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Thu, 12 Oct 2006 12:33:07 +0000 |
| parents | 97d3eab8cda2 |
| children | 717bc2a4eee7 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Thu Oct 12 12:03:07 2006 +0000 +++ b/Python/bltinmodule.c Thu Oct 12 12:33:07 2006 +0000 @@ -2055,10 +2055,11 @@ } 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 *
