mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Annotate Python 3.8 removals (#3359)
* macpath * time.clock() * Some cgi functions * XMLParser(html) and doctype() * unicode_internal * Two sqlite3 classes hidden * fileinput bufsize arg * Treeview.selection no longer takes arguments
This commit is contained in:
@@ -70,7 +70,8 @@ else:
|
||||
def __new__(cls, o: _TimeTuple, _arg: Any = ...) -> struct_time: ...
|
||||
|
||||
def asctime(t: Union[_TimeTuple, struct_time] = ...) -> str: ...
|
||||
def clock() -> float: ...
|
||||
if sys.version_info < (3, 8):
|
||||
def clock() -> float: ...
|
||||
def ctime(secs: Optional[float] = ...) -> str: ...
|
||||
def gmtime(secs: Optional[float] = ...) -> struct_time: ...
|
||||
def localtime(secs: Optional[float] = ...) -> struct_time: ...
|
||||
|
||||
Reference in New Issue
Block a user