mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
#2769: markup glitch.
This commit is contained in:
parent
3961f1872c
commit
cb63565eb5
1 changed files with 1 additions and 1 deletions
|
@ -1693,7 +1693,7 @@ complete list of changes, or look through the CVS logs for all the details.
|
||||||
|
|
||||||
``permutations(iter[, r])`` returns all the permutations of length *r* of
|
``permutations(iter[, r])`` returns all the permutations of length *r* of
|
||||||
the iterable's elements. If *r* is not specified, it will default to the
|
the iterable's elements. If *r* is not specified, it will default to the
|
||||||
number of elements produced by the iterable.
|
number of elements produced by the iterable. ::
|
||||||
|
|
||||||
itertools.permutations([1,2,3,4], 2) ->
|
itertools.permutations([1,2,3,4], 2) ->
|
||||||
[(1, 2), (1, 3), (1, 4),
|
[(1, 2), (1, 3), (1, 4),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue