mirror of https://github.com/python/cpython
Fix whitespace.
This commit is contained in:
parent
fdf3bd6630
commit
1b2e0d9da0
|
@ -250,7 +250,7 @@ by functions or loops that truncate the stream.
|
||||||
third line). Equivalent to:
|
third line). Equivalent to:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
def islice(iterable, *args):
|
def islice(iterable, *args):
|
||||||
s = slice(*args)
|
s = slice(*args)
|
||||||
it = iter(xrange(s.start or 0, s.stop or sys.maxint, s.step or 1))
|
it = iter(xrange(s.start or 0, s.stop or sys.maxint, s.step or 1))
|
||||||
nexti = it.next()
|
nexti = it.next()
|
||||||
|
|
Loading…
Reference in New Issue