mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
datetime: add timedelta.__bool__ (#5555)
This commit is contained in:
1 parent
bfc83c365a
commit
2255a6fdc8
1 file changed
+1
@@ -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