We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab24dac commit 505eaedCopy full SHA for 505eaed
src/sage/rings/ring.pyx
@@ -1646,9 +1646,16 @@ def is_Ring(x):
1646
1647
sage: from sage.rings.ring import is_Ring
1648
sage: is_Ring(ZZ)
1649
+ doctest:warning...
1650
+ DeprecationWarning: The function is_Ring is deprecated; use '... in Rings()' instead
1651
+ See https://github.com/sagemath/sage/issues/38288 for details.
1652
True
1653
sage: MS = MatrixSpace(QQ, 2) # needs sage.modules
1654
sage: is_Ring(MS) # needs sage.modules
1655
1656
"""
1657
+ from sage.misc.superseded import deprecation_cython
1658
+ deprecation_cython(38288,
1659
+ "The function is_Ring is deprecated; "
1660
+ "use '... in Rings()' instead")
1661
return x in _Rings
0 commit comments