mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-19 12:21:27 +08:00
1 parent
616cb0bb65
commit
4b8c6bbea1
1 file changed
+4
-1
@@ -114,7 +114,10 @@ class time:
|
||||
def __ge__(self, other: time) -> bool: ...
|
||||
def __gt__(self, other: time) -> bool: ...
|
||||
def __hash__(self) -> int: ...
|
||||
def isoformat(self) -> str: ...
|
||||
if sys.version_info >= (3, 6):
|
||||
def isoformat(self, timespec: str = ...) -> str: ...
|
||||
else:
|
||||
def isoformat(self) -> str: ...
|
||||
if sys.version_info >= (3, 7):
|
||||
@classmethod
|
||||
def fromisoformat(cls: Type[_S], time_string: str) -> _S: ...
|
||||
|
||||
Reference in new issue
Block a user