Skip to content

Commit

Permalink
src/sage/rings/big_oh.py: Fix # optional annotations here - this is d…
Browse files Browse the repository at this point in the history
…octested in src/sage/doctest/forker.py
  • Loading branch information
Matthias Koeppe committed Jun 12, 2023
1 parent 93a8be5 commit ac1f1fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sage/rings/big_oh.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def O(*x, **kwds):
sage: A.<n> = AsymptoticRing(growth_group='QQ^n * n^QQ * log(n)^QQ', # optional - sage.symbolic
....: coefficient_ring=QQ); A
Asymptotic Ring <QQ^n * n^QQ * log(n)^QQ * Signs^n> over Rational Field
sage: O(n)
sage: O(n) # optional - sage.symbolic
O(n)
Application with Puiseux series::
Expand All @@ -108,17 +108,17 @@ def O(*x, **kwds):
TESTS::
sage: var('x, y')
sage: var('x, y') # optional - sage.symbolic
(x, y)
sage: O(x)
sage: O(x) # optional - sage.symbolic
Traceback (most recent call last):
...
ArithmeticError: O(x) not defined
sage: O(y)
sage: O(y) # optional - sage.symbolic
Traceback (most recent call last):
...
ArithmeticError: O(y) not defined
sage: O(x, y)
sage: O(x, y) # optional - sage.symbolic
Traceback (most recent call last):
...
ArithmeticError: O(x, y) not defined
Expand Down

0 comments on commit ac1f1fe

Please sign in to comment.