@@ -348,7 +348,7 @@ from itertools import combinations, product
348348from sage.matrix.constructor import matrix
349349from sage.misc.lazy_import import LazyImport
350350from sage.misc.prandom import shuffle
351- from sage.misc.superseded import deprecation, deprecated_function_alias
351+ from sage.misc.superseded import deprecated_function_alias
352352from sage.rings.integer_ring import ZZ
353353from sage.structure.richcmp cimport rich_to_bool, richcmp
354354from sage.structure.sage_object cimport SageObject
@@ -4217,9 +4217,6 @@ cdef class Matroid(SageObject):
42174217 one. It can be shown that the resulting matroid does not depend on the
42184218 order of the deletions.
42194219
4220- DEPRECATED: Sage supports the shortcut notation ``M \ X`` for
4221- ``M. delete( X) ``.
4222-
42234220 INPUT:
42244221
42254222 - ``X`` -- either a single element of the groundset, or a collection
@@ -4268,23 +4265,6 @@ cdef class Matroid(SageObject):
42684265 """
42694266 return self .minor(deletions = X)
42704267
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-
42884268 cpdef dual(self ):
42894269 r """
42904270 Return the dual of the matroid.
0 commit comments