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

Commit

Permalink
trac #20403 fixing one doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Apr 9, 2016
1 parent c427ca9 commit a27f383
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/sage/categories/enumerated_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,21 @@ 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 a27f383

Please sign in to comment.