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

Commit

Permalink
improve documentation of _element_constructor_
Browse files Browse the repository at this point in the history
  • Loading branch information
behackl committed Sep 29, 2015
1 parent 5cf2a31 commit dc00f95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sage/rings/asymptotic/asymptotic_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,12 @@ def _element_constructor_(self, data, summands=None, simplify=True):
An element of this asymptotic ring.
.. NOTE::
Either ``data`` or ``summands`` has to be given. If
``summands`` is specified, then no positional argument
may be passed (except for `int(0)`).
TESTS::
sage: AR = AsymptoticRing(growth_group='x^ZZ', coefficient_ring=ZZ)
Expand Down

0 comments on commit dc00f95

Please sign in to comment.