[issue31141] Start should be a keyword argument of the built-in sum

STINNER Victor report at bugs.python.org
Thu Apr 26 08:55:35 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

> I don't think it is worth to allow passing the first argument as a keyword argument.

I concur. Would you mind to add a test to make sure that passing the first argument as the "iterable" keyword doesn't work?

"iterable" name comes from the Doc/library/functions.rst documentation and from the docstring.

----------
nosy: +vstinner

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31141>
_______________________________________


More information about the Python-bugs-list mailing list