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

Commit

Permalink
improve doctest of term.an_element
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Aug 17, 2015
1 parent 57d1720 commit fc20bf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/monoids/asymptotic_term_monoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,8 @@ def _an_element_(self):
Asymptotic Term with coefficient 1 and growth x
sage: atm.ExactTermMonoid(G, ZZ).an_element() # indirect doctest
x
sage: atm.ExactTermMonoid(G, QQ).an_element() # indirect doctest
1/2*x
"""
return self(self.growth_group.an_element(),
self.base_ring.an_element())
Expand Down

0 comments on commit fc20bf8

Please sign in to comment.