Author ezio.melotti
Recipients Ramchandra Apte, docs@python, ezio.melotti,, pitrou, r.david.murray, rhettinger, terry.reedy
Date 2013-11-17.00:07:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think it's better to do:
-Return the number of items of a sequence or mapping.
+Return the number of items of a sequence or container.

While it's true that most sequences are clearly containers (e.g. lists), the same is not so evident for other types like bytes or strings.
I'm also starting from the assumption that people reading the docstring of len just started with Python or programming in general, so it's more important to keep it simple and understandable rather than being 100% accurate.
Date User Action Args
2013-11-17 00:07:34ezio.melottisetrecipients: + ezio.melotti, rhettinger, terry.reedy, pitrou, r.david.murray, docs@python,, Ramchandra Apte
2013-11-17 00:07:34ezio.melottisetmessageid: <>
2013-11-17 00:07:34ezio.melottilinkissue19362 messages
2013-11-17 00:07:34ezio.melotticreate