Skip to content

Commit 0b4b4fe

Browse files
committed
src/sage/rings/complex_interval_field.py: Remove function deprecated in sagemath#32612 (2021)
1 parent ad80dfa commit 0b4b4fe

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/sage/rings/complex_interval_field.py

-21
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,6 @@
4949
from sage.misc.cachefunc import cached_method
5050

5151

52-
def is_ComplexIntervalField(x):
53-
"""
54-
Check if ``x`` is a :class:`ComplexIntervalField`.
55-
56-
EXAMPLES::
57-
58-
sage: from sage.rings.complex_interval_field import is_ComplexIntervalField as is_CIF
59-
sage: is_CIF(CIF)
60-
doctest:warning...
61-
DeprecationWarning: is_ComplexIntervalField is deprecated;
62-
use isinstance(..., sage.rings.abc.ComplexIntervalField) instead
63-
See https://github.com/sagemath/sage/issues/32612 for details.
64-
True
65-
sage: is_CIF(CC)
66-
False
67-
"""
68-
from sage.misc.superseded import deprecation
69-
deprecation(32612, 'is_ComplexIntervalField is deprecated; use isinstance(..., sage.rings.abc.ComplexIntervalField) instead')
70-
return isinstance(x, ComplexIntervalField_class)
71-
72-
7352
cache = {}
7453
def ComplexIntervalField(prec=53, names=None):
7554
"""

0 commit comments

Comments
 (0)