[docs] [issue11908] Weird `slice.stop or sys.maxint`

ysj.ray report at bugs.python.org
Mon Apr 25 09:09:14 CEST 2011


ysj.ray <ysj.ray at gmail.com> added the comment:
`step` argument for xrange() could not be 0.
But `s.stop or sys.maxint` is really a problem, in the case of `s.stop == 0`.
So the given `Equivalent to` python code in the doc is not precisely equivalent to the c implementation. The doc needs a fix.
----------
nosy: +ysj.ray
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11908>
_______________________________________


More information about the docs mailing list

AltStyle によって変換されたページ (->オリジナル) /