Skip to content

Commit ab4bc60

Browse files
author
Matthias Koeppe
committed
sage.rings: Modularization fixes, add # optional
1 parent 17859ac commit ab4bc60

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/sage/rings/padics/factory.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -975,10 +975,10 @@ def Qq(q, prec=None, type='capped-rel', modulus=None, names=None,
975975
976976
2. The modulus can also be given as a **symbolic expression**. ::
977977
978-
sage: x = var('x')
979-
sage: X.<a> = Qq(27, modulus = x^3 + 2*x + 1); X.modulus()
978+
sage: x = var('x') # optional - sage.symbolic
979+
sage: X.<a> = Qq(27, modulus = x^3 + 2*x + 1); X.modulus() # optional - sage.symbolic
980980
(1 + O(3^20))*x^3 + O(3^20)*x^2 + (2 + O(3^20))*x + 1 + O(3^20)
981-
sage: X == R
981+
sage: X == R # optional - sage.symbolic
982982
True
983983
984984
By default, the polynomial chosen is the standard lift of the
@@ -2225,10 +2225,10 @@ def Zq(q, prec=None, type='capped-rel', modulus=None, names=None,
22252225
22262226
2. The modulus can also be given as a **symbolic expression**. ::
22272227
2228-
sage: x = var('x')
2229-
sage: X.<a> = Zq(27, modulus = x^3 + 2*x + 1); X.modulus()
2228+
sage: x = var('x') # optional - sage.symbolic
2229+
sage: X.<a> = Zq(27, modulus = x^3 + 2*x + 1); X.modulus() # optional - sage.symbolic
22302230
(1 + O(3^20))*x^3 + O(3^20)*x^2 + (2 + O(3^20))*x + 1 + O(3^20)
2231-
sage: X == R
2231+
sage: X == R # optional - sage.symbolic
22322232
True
22332233
22342234
By default, the polynomial chosen is the standard lift of the

0 commit comments

Comments
 (0)