Lines Matching refs:permutations
70 :func:`permutations` p[, r] r-length tuples, all po…
74 ``permutations('ABCD', 2)`` ``AB AC AD BA BC BD CA …
216 of :func:`permutations` after filtering entries where the elements are not
222 for indices in permutations(range(n), r):
462 .. function:: permutations(iterable, r=None)
464 Return successive *r* length permutations of elements in the *iterable*.
467 of the *iterable* and all possible full-length permutations
480 def permutations(iterable, r=None):
481 # permutations('ABCD', 2) --> AB AC AD BA BC BD CA CB CD DA DB DC
482 # permutations(range(3)) --> 012 021 102 120 201 210
505 The code for :func:`permutations` can be also expressed as a subsequence of
509 def permutations(iterable, r=None):
857 "Random selection from itertools.permutations(iterable, r)"