We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 145d16a commit 58652f1Copy full SHA for 58652f1
source_py3/python_toolbox/combi/perming/perm.py
@@ -430,7 +430,8 @@ class UnrecurrentedMixin:
430
__iter__ = lambda self: iter(tuple(zip(*super().__iter__()))[1])
431
index = lambda self, item: self.nominal_perm_space.domain[
432
next(j for j, pair in enumerate(self._perm_sequence)
433
- if pair[1] == item)
+ if pair[1] == item),
434
+ '''Get the index number of `member` in the permutation.'''
435
]
436
437
class UnrecurrentedPerm(UnrecurrentedMixin, Perm):
0 commit comments