Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 'public/semigroups/iterator_finitely_generated_semigroup…
Browse files Browse the repository at this point in the history
…s-20403' of trac.sagemath.org:sage into public/misc/names_argument_indexed_generators-17039
  • Loading branch information
Travis Scrimshaw committed Apr 10, 2016
2 parents 52f7f98 + c20562e commit fabe683
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/categories/enumerated_sets.py
Expand Up @@ -703,7 +703,8 @@ def rank(self):
sage: F = FiniteSemigroups().example(('a','b','c'))
sage: L = list(F); L
['a', 'c', 'ac', 'b', 'ba', 'bc', 'cb', 'ca', 'bca', 'ab', 'bac', 'cab', 'acb', 'cba', 'abc']
['a', 'b', 'c', 'ac', 'ab', 'ba', 'bc', 'cb', 'ca',
'acb', 'abc', 'bca', 'cba', 'bac', 'cab']
sage: L[7].rank()
7
"""
Expand Down

0 comments on commit fabe683

Please sign in to comment.