@@ -348,7 +348,7 @@ from itertools import combinations, product
348
348
from sage.matrix.constructor import matrix
349
349
from sage.misc.lazy_import import LazyImport
350
350
from sage.misc.prandom import shuffle
351
- from sage.misc.superseded import deprecation, deprecated_function_alias
351
+ from sage.misc.superseded import deprecated_function_alias
352
352
from sage.rings.integer_ring import ZZ
353
353
from sage.structure.richcmp cimport rich_to_bool, richcmp
354
354
from sage.structure.sage_object cimport SageObject
@@ -4217,9 +4217,6 @@ cdef class Matroid(SageObject):
4217
4217
one. It can be shown that the resulting matroid does not depend on the
4218
4218
order of the deletions.
4219
4219
4220
- DEPRECATED: Sage supports the shortcut notation ``M \ X`` for
4221
- ``M. delete( X) ``.
4222
-
4223
4220
INPUT:
4224
4221
4225
4222
- ``X`` -- either a single element of the groundset, or a collection
@@ -4268,23 +4265,6 @@ cdef class Matroid(SageObject):
4268
4265
"""
4269
4266
return self .minor(deletions = X)
4270
4267
4271
- cpdef _backslash_(self , X):
4272
- r """
4273
- Shorthand for ``self. delete( X) ``.
4274
-
4275
- Deprecated.
4276
-
4277
- EXAMPLES::
4278
-
4279
- sage: M = matroids. CompleteGraphic( 4) # needs sage. graphs
4280
- sage: M. delete( 1) == M \ 1 # indirect doctest # needs sage. graphs
4281
- doctest:... : DeprecationWarning: the backslash operator has been deprecated; use M. delete( X) instead
4282
- See https://github. com/sagemath/sage/issues/36394 for details.
4283
- True
4284
- """
4285
- deprecation(36394 , ' the backslash operator has been deprecated; use M.delete(X) instead' )
4286
- return self .delete(X)
4287
-
4288
4268
cpdef dual(self ):
4289
4269
r """
4290
4270
Return the dual of the matroid.
0 commit comments