mirror of https://github.com/python/cpython
fix whitespace
This commit is contained in:
parent
bdb7fe4c84
commit
9f55b63060
|
@ -592,7 +592,7 @@ loops that truncate the stream.
|
||||||
|
|
||||||
A common use for *repeat* is to supply a stream of constant values to *imap*
|
A common use for *repeat* is to supply a stream of constant values to *imap*
|
||||||
or *zip*::
|
or *zip*::
|
||||||
|
|
||||||
>>> list(imap(pow, range(10), repeat(2)))
|
>>> list(imap(pow, range(10), repeat(2)))
|
||||||
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
|
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue