[Python-checkins] r52315 - python/trunk/Python/bltinmodule.c
georg.brandl
python-checkins at python.org
Thu Oct 12 14:33:08 CEST 2006
Author: georg.brandl
Date: Thu Oct 12 14:33:07 2006
New Revision: 52315
Modified:
python/trunk/Python/bltinmodule.c
Log:
Bug #1283491: follow docstring convention wrt. keyword-able args in sum().
Modified: python/trunk/Python/bltinmodule.c
==============================================================================
--- python/trunk/Python/bltinmodule.c (original)
+++ python/trunk/Python/bltinmodule.c Thu Oct 12 14:33:07 2006
@@ -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 *
More information about the Python-checkins
mailing list