Skip to content

Commit 58652f1

Browse files
committed
-
1 parent 145d16a commit 58652f1

File tree

1 file changed

+2
-1
lines changed
  • source_py3/python_toolbox/combi/perming

1 file changed

+2
-1
lines changed

source_py3/python_toolbox/combi/perming/perm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ class UnrecurrentedMixin:
430430
__iter__ = lambda self: iter(tuple(zip(*super().__iter__()))[1])
431431
index = lambda self, item: self.nominal_perm_space.domain[
432432
next(j for j, pair in enumerate(self._perm_sequence)
433-
if pair[1] == item)
433+
if pair[1] == item),
434+
'''Get the index number of `member` in the permutation.'''
434435
]
435436

436437
class UnrecurrentedPerm(UnrecurrentedMixin, Perm):

0 commit comments

Comments
 (0)