[docs] [issue18424] sum() does not return only the sum of a sequence of numbers + PEP8 reccomandation

R. David Murray report at bugs.python.org
Wed Jul 10 15:51:38 CEST 2013

R. David Murray added the comment:

Perhaps we could add something like "Also works, though possibly inefficiently, on any iterable whose elements support addition".  The biggest part of the sphinx docs for this are about what to use instead, and that doesn't really seem appropriate for a docstring.  So it may indeed be best to just not mention it in the docstring.

nosy: +r.david.murray

Python tracker <report at bugs.python.org>

More information about the docs mailing list