Skip to content

Commit a9d1ec9

Browse files
author
Matthias Koeppe
committed
src/sage/rings/padics/generic_nodes.py: Remove functions deprecated in #32750 (2021)
1 parent 0f9219c commit a9d1ec9

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

src/sage/rings/padics/generic_nodes.py

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,26 +1180,6 @@ def teichmuller_system(self):
11801180
return [ self.teichmuller(ZZ(i)) for i in R if i != 0 ]
11811181

11821182

1183-
def is_pAdicRing(R):
1184-
"""
1185-
Return ``True`` if and only if ``R`` is a `p`-adic ring (not a
1186-
field).
1187-
1188-
EXAMPLES::
1189-
1190-
sage: is_pAdicRing(Zp(5))
1191-
doctest:warning...
1192-
DeprecationWarning: is_pAdicRing is deprecated; use isinstance(..., sage.rings.abc.pAdicRing) instead
1193-
See https://github.com/sagemath/sage/issues/32750 for details.
1194-
True
1195-
sage: is_pAdicRing(RR)
1196-
False
1197-
"""
1198-
from sage.misc.superseded import deprecation
1199-
deprecation(32750, "is_pAdicRing is deprecated; use isinstance(..., sage.rings.abc.pAdicRing) instead")
1200-
return isinstance(R, pAdicRingGeneric)
1201-
1202-
12031183
class pAdicRingGeneric(pAdicGeneric, sage.rings.abc.pAdicRing):
12041184
def is_field(self, proof=True):
12051185
"""
@@ -1326,25 +1306,6 @@ def _gcd_univariate_polynomial(self, f, g):
13261306
return self._xgcd_univariate_polynomial(f, g)[0]
13271307

13281308

1329-
def is_pAdicField(R):
1330-
"""
1331-
Return ``True`` if and only if ``R`` is a `p`-adic field.
1332-
1333-
EXAMPLES::
1334-
1335-
sage: is_pAdicField(Zp(17))
1336-
doctest:warning...
1337-
DeprecationWarning: is_pAdicField is deprecated; use isinstance(..., sage.rings.abc.pAdicField) instead
1338-
See https://github.com/sagemath/sage/issues/32750 for details.
1339-
False
1340-
sage: is_pAdicField(Qp(17))
1341-
True
1342-
"""
1343-
from sage.misc.superseded import deprecation
1344-
deprecation(32750, "is_pAdicField is deprecated; use isinstance(..., sage.rings.abc.pAdicField) instead")
1345-
return isinstance(R, pAdicFieldGeneric)
1346-
1347-
13481309
class pAdicFieldGeneric(pAdicGeneric, sage.rings.abc.pAdicField):
13491310
pass
13501311

0 commit comments

Comments
 (0)