Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 5e623bb

Browse files
author
Matthias Koeppe
committed
RealSet.is_finite: Remove, inherited from category
1 parent 51c8152 commit 5e623bb

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/sage/sets/real_set.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,21 +1015,6 @@ def is_empty(self):
10151015
"""
10161016
return len(self._intervals) == 0
10171017

1018-
def is_finite(self):
1019-
"""
1020-
Return whether the set is finite.
1021-
1022-
EXAMPLES::
1023-
1024-
sage: RealSet().is_finite()
1025-
True
1026-
sage: RealSet(0, 0).is_finite()
1027-
True
1028-
sage: RealSet(0, 1).is_finite()
1029-
False
1030-
"""
1031-
return self.is_empty() or all(i.is_point() for i in self._intervals)
1032-
10331018
def get_interval(self, i):
10341019
"""
10351020
Return the ``i``-th connected component.

0 commit comments

Comments
 (0)