[issue10474] range.count returns boolean

Alexander Belopolsky report at bugs.python.org
Sat Nov 20 23:45:49 CET 2010

Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:


Benjamin's fix only affect the optimized path when the argument is int or bool.  Exotic comparison rules are handled in the else clause.

nosy: +belopolsky

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list