[issue7721] Code in xrange documentation does not work

Martin Manns report at bugs.python.org
Sun Jan 17 00:07:17 CET 2010


Martin Manns <mmanns at gmx.net> added the comment:

The new snippet does not work for me:

>>> list(irange(-12, 20, 4))
[-12, -8, -4, 0, 4]

I have attached code that seems to work.
It is more than a snipped though.

----------
Added file: http://bugs.python.org/file15922/irange.py

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


More information about the Python-bugs-list mailing list