[docs] [issue1283110] Give __len__() advice for "don't know"

Todd Rovito report at bugs.python.org
Tue Oct 16 07:00:12 CEST 2012


Todd Rovito added the comment:

For Python 3.4 attached is a patch as suggested by Raymond Hettinger.  My suggestion is to put the patch in Doc/reference/datamodel.rst because if a user searches google.com for __len__ this is the first link in the list.  I think this extra information is a valuable addition to the documentation.

----------
keywords: +patch
nosy: +Todd.Rovito
versions: +Python 3.4
Added file: http://bugs.python.org/file27589/DataModel__len__.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1283110>
_______________________________________


More information about the docs mailing list