Skip to content

Commit 418f3e9

Browse files
author
Release Manager
committed
gh-40862: remove deprecated aliases in real_set after File: src/sage/sets/real_set.py ; PR: #31927 ; Closed Date: 2021-06-29 ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. URL: #40862 Reported by: Frédéric Chapoton Reviewer(s): David Coudert
2 parents 32f6fc6 + 46deaee commit 418f3e9

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

src/sage/sets/real_set.py

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,17 @@ class RealSet.
9696
# (at your option) any later version.
9797
# https://www.gnu.org/licenses/
9898
# ****************************************************************************
99+
from heapq import merge
99100

100-
from sage.structure.richcmp import richcmp, richcmp_method
101-
from sage.structure.parent import Parent
102-
from sage.structure.unique_representation import UniqueRepresentation
103-
from sage.categories.topological_spaces import TopologicalSpaces
104101
from sage.categories.sets_cat import EmptySetError
105-
from sage.sets.set import Set_base, Set_boolean_operators, Set_add_sub_operators
102+
from sage.categories.topological_spaces import TopologicalSpaces
103+
from sage.rings.infinity import infinity, minus_infinity
106104
from sage.rings.integer_ring import ZZ
107105
from sage.rings.real_lazy import LazyFieldElement, RLF
108-
from sage.rings.infinity import infinity, minus_infinity
109-
from sage.misc.superseded import deprecated_function_alias
110-
from heapq import merge
106+
from sage.sets.set import Set_base, Set_boolean_operators, Set_add_sub_operators
107+
from sage.structure.parent import Parent
108+
from sage.structure.richcmp import richcmp, richcmp_method
109+
from sage.structure.unique_representation import UniqueRepresentation
111110

112111

113112
@richcmp_method
@@ -2354,8 +2353,6 @@ def is_subset(self, *other):
23542353
"""
23552354
return RealSet(*other).intersection(self) == self
23562355

2357-
is_included_in = deprecated_function_alias(31927, is_subset)
2358-
23592356
def _an_element_(self):
23602357
"""
23612358
Return a point of the set.
@@ -2601,8 +2598,6 @@ def is_disjoint(self, *other):
26012598
other = RealSet(*other)
26022599
return self.are_pairwise_disjoint(self, other)
26032600

2604-
is_disjoint_from = deprecated_function_alias(31927, is_disjoint)
2605-
26062601
@staticmethod
26072602
def are_pairwise_disjoint(*real_set_collection):
26082603
"""

0 commit comments

Comments
 (0)