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

Commit

Permalink
fix some doctests in polynomial quotient rings
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Jul 7, 2020
1 parent 1a1ec14 commit 9d5692d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/rings/polynomial/polynomial_quotient_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class of the category, and store the current class of the quotient
sage: isinstance(Q.an_element(),Q.element_class)
True
sage: [s for s in dir(Q.category().element_class) if not s.startswith('_')]
['cartesian_product', 'inverse_of_unit', 'is_idempotent', 'is_one', 'is_unit', 'lift', 'powers']
['cartesian_product', 'inverse', 'inverse_of_unit', 'is_idempotent', 'is_one', 'is_unit', 'lift', 'powers']
sage: first_class = Q.__class__
We try to find out whether `Q` is a field. Indeed it is, and thus its category,
Expand All @@ -338,6 +338,7 @@ class of the category, and store the current class of the quotient
'euclidean_degree',
'factor',
'gcd',
'inverse',
'inverse_of_unit',
'is_idempotent',
'is_one',
Expand Down

0 comments on commit 9d5692d

Please sign in to comment.