Skip to content

Commit

Permalink
src/sage/rings/complex_interval_field.py: Remove function deprecated in
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Sep 21, 2023
1 parent ad80dfa commit 0b4b4fe
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/sage/rings/complex_interval_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,6 @@
from sage.misc.cachefunc import cached_method


def is_ComplexIntervalField(x):
"""
Check if ``x`` is a :class:`ComplexIntervalField`.
EXAMPLES::
sage: from sage.rings.complex_interval_field import is_ComplexIntervalField as is_CIF
sage: is_CIF(CIF)
doctest:warning...
DeprecationWarning: is_ComplexIntervalField is deprecated;
use isinstance(..., sage.rings.abc.ComplexIntervalField) instead
See https://github.com/sagemath/sage/issues/32612 for details.
True
sage: is_CIF(CC)
False
"""
from sage.misc.superseded import deprecation
deprecation(32612, 'is_ComplexIntervalField is deprecated; use isinstance(..., sage.rings.abc.ComplexIntervalField) instead')
return isinstance(x, ComplexIntervalField_class)


cache = {}
def ComplexIntervalField(prec=53, names=None):
"""
Expand Down

0 comments on commit 0b4b4fe

Please sign in to comment.