This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Camion
Recipients Camion
Date 2019-03-31.06:09:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554012557.52.0.039399105575.issue36491@roundup.psfhosted.org>
In-reply-to
Content
>>> help(sum)
Help on built-in function sum in module builtins:

sum(iterable, start=0, /)
    Return the sum of a 'start' value (default: 0) plus an iterable of numbers
    
    When the iterable is empty, return the start value.
    This function is intended specifically for use with numeric values and may
    reject non-numeric types.

>>> sum([1, 2, 3], start=3)
Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    sum([1, 2, 3], start=3)
TypeError: sum() takes no keyword arguments

By the way, it is very annoying that the start value is not available, because it hampers the possibility to use sum with things like vectors.
History
Date User Action Args
2019-03-31 06:09:17Camionsetrecipients: + Camion
2019-03-31 06:09:17Camionsetmessageid: <1554012557.52.0.039399105575.issue36491@roundup.psfhosted.org>
2019-03-31 06:09:17Camionlinkissue36491 messages
2019-03-31 06:09:17Camioncreate