[issue10474] range.count returns boolean

Benjamin Peterson report at bugs.python.org
Sat Nov 20 23:44:59 CET 2010


Benjamin Peterson <benjamin at python.org> added the comment:

2010/11/20 SilentGhost <report at bugs.python.org>:
>
> SilentGhost <michael.mischurow+bpo at gmail.com> added the comment:
>
> Benjamin, the docs say that it's possible to have count more than 1, depending on comparison rules. If that's the case, I'm afraid your solution might need to be adjusted.

Produce a case where that's true, and I'll fix it.

----------

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


More information about the Python-bugs-list mailing list