mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +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:
@@ -102,10 +102,11 @@ def enable_shared_cache(do_enable: int) -> None: ...
|
||||
def register_adapter(type: Type[_T], callable: Callable[[_T], Union[int, float, str, bytes]]) -> None: ...
|
||||
def register_converter(typename: str, callable: Callable[[bytes], Any]) -> None: ...
|
||||
|
||||
class Cache(object):
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def display(self, *args, **kwargs) -> None: ...
|
||||
def get(self, *args, **kwargs) -> None: ...
|
||||
if sys.version_info < (3, 8):
|
||||
class Cache(object):
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def display(self, *args, **kwargs) -> None: ...
|
||||
def get(self, *args, **kwargs) -> None: ...
|
||||
|
||||
class Connection(object):
|
||||
DataError: Any
|
||||
@@ -283,7 +284,8 @@ class Row(object):
|
||||
def __lt__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
|
||||
class Statement(object):
|
||||
def __init__(self, *args, **kwargs): ...
|
||||
if sys.version_info < (3, 8):
|
||||
class Statement(object):
|
||||
def __init__(self, *args, **kwargs): ...
|
||||
|
||||
class Warning(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user