@@ -1180,26 +1180,6 @@ def teichmuller_system(self):
1180
1180
return [ self .teichmuller (ZZ (i )) for i in R if i != 0 ]
1181
1181
1182
1182
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
-
1203
1183
class pAdicRingGeneric (pAdicGeneric , sage .rings .abc .pAdicRing ):
1204
1184
def is_field (self , proof = True ):
1205
1185
"""
@@ -1326,25 +1306,6 @@ def _gcd_univariate_polynomial(self, f, g):
1326
1306
return self ._xgcd_univariate_polynomial (f , g )[0 ]
1327
1307
1328
1308
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
-
1348
1309
class pAdicFieldGeneric (pAdicGeneric , sage .rings .abc .pAdicField ):
1349
1310
pass
1350
1311
0 commit comments