[New-bugs-announce] [issue34637] Make *start* usable as a keyword argument for sum().

Raymond Hettinger report at bugs.python.org
Tue Sep 11 19:34:59 EDT 2018


New submission from Raymond Hettinger <raymond.hettinger at gmail.com>:

Currently, we can write:

    >>> sum(range(10), 50)
    95

What we want to allow:

    >>> sum(range(10), start=50)
    95

The positional form would still be allowed.

----------
assignee: rhettinger
components: Library (Lib)
messages: 325092
nosy: rhettinger
priority: normal
severity: normal
status: open
title: Make *start* usable as a keyword argument for sum().
type: enhancement
versions: Python 3.8

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


More information about the New-bugs-announce mailing list