Author SilentGhost
Recipients SilentGhost
Date 2010-11-20.22:26:57
SpamBayes Score 2.1918e-05
Marked as misclassified No
Message-id <1290292020.04.0.782370247504.issue10474@psf.upfronthosting.co.za>
In-reply-to
Content
>>> 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.
History
Date User Action Args
2010-11-20 22:27:00SilentGhostsetrecipients: + SilentGhost
2010-11-20 22:27:00SilentGhostsetmessageid: <1290292020.04.0.782370247504.issue10474@psf.upfronthosting.co.za>
2010-11-20 22:26:58SilentGhostlinkissue10474 messages
2010-11-20 22:26:57SilentGhostcreate