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

Commit

Permalink
add a pushout-doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Aug 27, 2015
1 parent 830585b commit 4115f61
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/sage/rings/asymptotic/asymptotic_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -1904,6 +1904,12 @@ class AsymptoticRingFunctor(ConstructionFunctor):
sage: cm.common_parent(X, Y)
Asymptotic Ring <x^ZZ * y^ZZ> over Rational Field
sage: sage.structure.element.coercion_traceback() # not tested
::
sage: from sage.categories.pushout import pushout
sage: pushout(AsymptoticRing(growth_group='x^ZZ', coefficient_ring=ZZ), QQ)
Asymptotic Ring <x^ZZ> over Rational Field
"""

rank = 13
Expand Down Expand Up @@ -2052,4 +2058,3 @@ def __ne__(self, other):
True
"""
return not self.__eq__(other)

0 comments on commit 4115f61

Please sign in to comment.