Skip to content

Commit c3ca120

Browse files
committed
fix doctest
1 parent 7b4c107 commit c3ca120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/polynomial/polynomial_element.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ cpdef is_Polynomial(f):
150150
sage: R.<x> = ZZ[]
151151
sage: is_Polynomial(x^3 + x + 1)
152152
doctest:...: DeprecationWarning: the function is_Polynomial is deprecated;
153-
use isinstance(x, sage.structure.element.Polynomial) instead
153+
use isinstance(x, sage.rings.polynomial.polynomial_element.Polynomial) instead
154154
See https://github.com/sagemath/sage/issues/32709 for details.
155155
True
156156
sage: S.<y> = R[]

0 commit comments

Comments
 (0)