Bug in __contains__
Siggy Brentrup
bsb at winnegan.de
Wed Feb 28 05:15:34 EST 2001
Oleg Broytmann <phd at phd.pp.ru> writes:
> Hello!
>
> Python 2.0 (#1, Jan 26 2001, 15:34:20)
> [GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2
> Type "copyright", "credits" or "license" for more information.
> >>> 10 in xrange(10)
> 1
>
> Is it a known bug?
Python 2.1a2 (#6, Feb 28 2001, 10:30:37)
[GCC 2.95.3 20010219 (prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> 10 in xrange(10)
0
Seems to be fixed :)
Siggy
More information about the Python-list
mailing list