mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 04:52:23 +08:00
Misc fixes found by running mypy against Dropbox internal codebase "C". (#1575)
This commit is contained in:
committed by
Jelle Zijlstra
parent
1050b383a3
commit
76685480e0
@@ -50,7 +50,7 @@ class object:
|
||||
def __sizeof__(self) -> int: ...
|
||||
def __reduce__(self) -> tuple: ...
|
||||
def __reduce_ex__(self, protocol: int) -> tuple: ...
|
||||
def __dir__(self) -> List[str]: ...
|
||||
def __dir__(self) -> Iterable[str]: ...
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
def __init_subclass__(cls) -> None: ...
|
||||
|
||||
@@ -11,7 +11,7 @@ from types import ModuleType, TracebackType
|
||||
|
||||
|
||||
_T = TypeVar('_T')
|
||||
_FT = TypeVar('_FT', bound=Callable[[Any], Any])
|
||||
_FT = TypeVar('_FT', bound=Callable[..., Any])
|
||||
_E = TypeVar('_E', bound=Exception)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user