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 vsinitsyn
Recipients docs@python, r.david.murray, vsinitsyn, wolma
Date 2015-03-29.19:07:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427656041.75.0.988039989874.issue23787@psf.upfronthosting.co.za>
In-reply-to
Content
Seems like mentioning string was really a bad idea. They were only used as (poor) example, forget them if they are confusing in any way.

In my understanding, any sequence in Python is iterable, bit not all iterables are sequences (correct me if I'm wrong). Then, the purpose of my suggestion is to explicitly say that sum() accepts iterables. In its current form, it seems like it doesn't, that's why I considered the docstring [subtly] wrong.
History
Date User Action Args
2015-03-29 19:07:21vsinitsynsetrecipients: + vsinitsyn, r.david.murray, docs@python, wolma
2015-03-29 19:07:21vsinitsynsetmessageid: <1427656041.75.0.988039989874.issue23787@psf.upfronthosting.co.za>
2015-03-29 19:07:21vsinitsynlinkissue23787 messages
2015-03-29 19:07:21vsinitsyncreate