Skip to content

Commit

Permalink
sage.symbolic.callable: Remove function deprecated in sagemath#32665
Browse files Browse the repository at this point in the history
…(2021)
  • Loading branch information
mkoeppe committed Sep 19, 2023
1 parent 1499b45 commit 6e0c888
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/sage/symbolic/callable.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,34 +69,6 @@
######################################################################
# Callable functions
######################################################################
def is_CallableSymbolicExpressionRing(x):
"""
Return ``True`` if ``x`` is a callable symbolic expression ring.
INPUT:
- ``x`` - object
OUTPUT: bool
EXAMPLES::
sage: from sage.symbolic.callable import is_CallableSymbolicExpressionRing
sage: is_CallableSymbolicExpressionRing(QQ)
doctest:warning...
DeprecationWarning: is_CallableSymbolicExpressionRing is deprecated;
use isinstance(..., sage.rings.abc.CallableSymbolicExpressionRing instead
See https://github.com/sagemath/sage/issues/32665 for details.
False
sage: var('x,y,z')
(x, y, z)
sage: is_CallableSymbolicExpressionRing(CallableSymbolicExpressionRing((x,y,z)))
True
"""
from sage.misc.superseded import deprecation
deprecation(32665, 'is_CallableSymbolicExpressionRing is deprecated; use isinstance(..., sage.rings.abc.CallableSymbolicExpressionRing instead')
return isinstance(x, CallableSymbolicExpressionRing_class)


def is_CallableSymbolicExpression(x):
r"""
Expand Down

0 comments on commit 6e0c888

Please sign in to comment.