stdlib: Add several missing comparison methods (#7202)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-14 11:09:52 -08:00
1 parent f3ad0179f8
commit 66a229b709
5 files changed
+37 -1

No files matched your search

+5
View File
@@ -55,6 +55,11 @@ class TimerHandle(Handle):
if sys.version_info >= (3, 7):
def when(self) -> float: ...
def __lt__(self, other: TimerHandle) -> bool: ...
def __le__(self, other: TimerHandle) -> bool: ...
def __gt__(self, other: TimerHandle) -> bool: ...
def __ge__(self, other: TimerHandle) -> bool: ...
class AbstractServer:
@abstractmethod
def close(self) -> None: ...