Message344833
The perm() function should have a one argument form and change its signature to ``perm(n, k=None)``. This matches what itertools:
itertools.permutations(iterable, r=None)
Return successive r length permutations of elements
in the iterable.
If r is not specified or is None, then r defaults to
the length of the iterable and all possible full-length
permutations are generated. |
|
Date |
User |
Action |
Args |
2019-06-06 16:30:28 | rhettinger | set | recipients:
+ rhettinger, tim.peters, mark.dickinson, serhiy.storchaka |
2019-06-06 16:30:28 | rhettinger | set | messageid: <1559838628.34.0.228461842236.issue37178@roundup.psfhosted.org> |
2019-06-06 16:30:28 | rhettinger | link | issue37178 messages |
2019-06-06 16:30:28 | rhettinger | create | |
|