diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-09-12 10:54:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 10:54:06 -0700 |
commit | 9dfa0fe587eae3626ffc973680c6a17f35de3864 (patch) | |
tree | b9bcea3d12dd609b45aafd333d72a8c05f5d053b /Python/bltinmodule.c | |
parent | bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568) (diff) | |
download | cpython-9dfa0fe587eae3626ffc973680c6a17f35de3864.tar.gz cpython-9dfa0fe587eae3626ffc973680c6a17f35de3864.tar.bz2 cpython-9dfa0fe587eae3626ffc973680c6a17f35de3864.zip |
bpo-34637: Make the *start* argument for *sum()* visible as a keyword argument. (GH-9208)
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index a23bdc1078c..8001c603939 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2272,8 +2272,8 @@ With an argument, equivalent to object.__dict__."); sum as builtin_sum iterable: object - start: object(c_default="NULL") = 0 / + start: object(c_default="NULL") = 0 Return the sum of a 'start' value (default: 0) plus an iterable of numbers @@ -2284,7 +2284,7 @@ reject non-numeric types. static PyObject * builtin_sum_impl(PyObject *module, PyObject *iterable, PyObject *start) -/*[clinic end generated code: output=df758cec7d1d302f input=3b5b7a9d7611c73a]*/ +/*[clinic end generated code: output=df758cec7d1d302f input=162b50765250d222]*/ { PyObject *result = start; PyObject *temp, *item, *iter; |