Skip to content

Commit 7c6dae1

Browse files
author
Matthias Koeppe
committed
Update # optional/needs
1 parent c3bbde2 commit 7c6dae1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/sage/rings/polynomial/multi_polynomial_element.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,9 +2196,9 @@ def quo_rem(self, right):
21962196
21972197
EXAMPLES::
21982198
2199-
sage: R.<x,y> = CC[]
2200-
sage: f = y*x^2 + x + 1
2201-
sage: f.quo_rem(x) # optional - sage.libs.singular
2199+
sage: R.<x,y> = CC[] # optional - sage.rings.real_mpfr
2200+
sage: f = y*x^2 + x + 1 # optional - sage.rings.real_mpfr
2201+
sage: f.quo_rem(x) # optional - sage.libs.singular sage.rings.real_mpfr
22022202
(x*y + 1.00000000000000, 1.00000000000000)
22032203
22042204
sage: R = QQ['a','b']['x','y','z']
@@ -2477,7 +2477,8 @@ def degree_lowest_rational_function(r, x):
24772477
24782478
::
24792479
2480-
sage: r = f/g; r # optional - sage.rings.finite_rings
2480+
sage: # optional - sage.rings.finite_rings
2481+
sage: r = f/g; r
24812482
(-2*b*c^2 - 1)/(2*a*b^3*c^6 + a*c)
24822483
sage: degree_lowest_rational_function(r, a)
24832484
-1

0 commit comments

Comments
 (0)