mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Fix whitespace.
This commit is contained in:
parent
fdf3bd6630
commit
1b2e0d9da0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue