mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
datetime: add timedelta.__bool__ (#5555)
This commit is contained in:
committed by
GitHub
parent
bfc83c365a
commit
2255a6fdc8
@@ -179,6 +179,7 @@ class timedelta(SupportsAbs[timedelta]):
|
||||
def __lt__(self, other: timedelta) -> bool: ...
|
||||
def __ge__(self, other: timedelta) -> bool: ...
|
||||
def __gt__(self, other: timedelta) -> bool: ...
|
||||
def __bool__(self) -> bool: ...
|
||||
def __hash__(self) -> int: ...
|
||||
|
||||
class datetime(date):
|
||||
|
||||
Reference in New Issue
Block a user