Message121799
>>> a = range(5)
>>> a.count(5)
False
>>> a.count(2)
True
I believe this is related to the issue9213 that introduced count and index method on the range object. According to the documentation accompanying that fix it should return an integer. |
|
| Date |
User |
Action |
Args |
| 2010-11-20 22:27:00 | SilentGhost | set | recipients:
+ SilentGhost |
| 2010-11-20 22:27:00 | SilentGhost | set | messageid: <1290292020.04.0.782370247504.issue10474@psf.upfronthosting.co.za> |
| 2010-11-20 22:26:58 | SilentGhost | link | issue10474 messages |
| 2010-11-20 22:26:57 | SilentGhost | create | |
|