Message82296
It should still be documented that __len__ can be used for this purpose.
The __length_hint__ attribute is mainly for iterators because they are
not allowed to have a __len__ as that would affect their boolean value. |
|
Date |
User |
Action |
Args |
2009-02-17 02:30:44 | rhettinger | set | recipients:
+ rhettinger, tim.peters, georg.brandl, benjamin.peterson |
2009-02-17 02:30:44 | rhettinger | set | messageid: <1234837844.51.0.393283109122.issue1283110@psf.upfronthosting.co.za> |
2009-02-17 02:30:42 | rhettinger | link | issue1283110 messages |
2009-02-17 02:30:42 | rhettinger | create | |
|