Skip to content

Commit

Permalink
src/sage/categories: Add # optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Feb 5, 2023
1 parent eb45a59 commit d534fb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sage/categories/monoids.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def inverse(self):
EXAMPLES::
sage: AA(sqrt(~2)).inverse()
sage: AA(sqrt(~2)).inverse() # optional - sage.symbolic, sage.rings.number_field
1.414213562373095?
"""
# Nota Bene: Element classes should implement ``__invert__`` only.
Expand Down
4 changes: 2 additions & 2 deletions src/sage/categories/poor_man_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ def _sympy_(self):
EXAMPLES::
sage: from sage.categories.poor_man_map import PoorManMap
sage: h = PoorManMap(sin, domain=RR, codomain=RR)
sage: h._sympy_()
sage: h = PoorManMap(sin, domain=RR, codomain=RR) # optional - sage.symbolic
sage: h._sympy_() # optional - sage.symbolic
sin
"""
from sympy import Lambda, sympify
Expand Down

0 comments on commit d534fb6

Please sign in to comment.