@@ -246,38 +246,6 @@ def create_object(self, version, order, **kwds):
246
246
Zmod = Integers = IntegerModRing = IntegerModFactory ("IntegerModRing" )
247
247
248
248
249
- def is_IntegerModRing (x ):
250
- """
251
- Return ``True`` if ``x`` is an integer modulo ring.
252
-
253
- This function is deprecated. Use :func:`isinstance` with
254
- :class:`sage.rings.abc.IntegerModRing` instead.
255
-
256
- EXAMPLES::
257
-
258
- sage: from sage.rings.finite_rings.integer_mod_ring import is_IntegerModRing
259
- sage: R = IntegerModRing(17)
260
- sage: is_IntegerModRing(R)
261
- doctest:warning...
262
- DeprecationWarning: the function is_IntegerModRing is deprecated.
263
- Use isinstance(..., sage.rings.abc.IntegerModRing) instead.
264
- See https://github.com/sagemath/sage/issues/32606 for details.
265
- True
266
- sage: is_IntegerModRing(GF(13))
267
- True
268
- sage: is_IntegerModRing(GF(4, 'a')) # needs sage.rings.finite_rings
269
- False
270
- sage: is_IntegerModRing(10)
271
- False
272
- sage: is_IntegerModRing(ZZ)
273
- False
274
- """
275
- from sage .misc .superseded import deprecation
276
- deprecation (32606 , "the function is_IntegerModRing is deprecated. "
277
- "Use isinstance(..., sage.rings.abc.IntegerModRing) instead." )
278
- return isinstance (x , IntegerModRing_generic )
279
-
280
-
281
249
from sage .categories .commutative_rings import CommutativeRings
282
250
from sage .categories .finite_enumerated_sets import FiniteEnumeratedSets
283
251
from sage .categories .category import JoinCategory
0 commit comments