mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
committed by
Jelle Zijlstra
parent
0c9f0d21d2
commit
4e40b035c8
@@ -966,7 +966,7 @@ class memoryview(Sized, Container[bytes]):
|
||||
class BaseException(object):
|
||||
args = ... # type: Tuple[Any, ...]
|
||||
message = ... # type: Any
|
||||
def __init__(self, *args: object, **kwargs: object) -> None: ...
|
||||
def __init__(self, *args: object) -> None: ...
|
||||
def __getitem__(self, i: int) -> Any: ...
|
||||
def __getslice__(self, start: int, stop: int) -> Tuple[Any, ...]: ...
|
||||
|
||||
|
||||
@@ -966,7 +966,7 @@ class memoryview(Sized, Container[bytes]):
|
||||
class BaseException(object):
|
||||
args = ... # type: Tuple[Any, ...]
|
||||
message = ... # type: Any
|
||||
def __init__(self, *args: object, **kwargs: object) -> None: ...
|
||||
def __init__(self, *args: object) -> None: ...
|
||||
def __getitem__(self, i: int) -> Any: ...
|
||||
def __getslice__(self, start: int, stop: int) -> Tuple[Any, ...]: ...
|
||||
|
||||
|
||||
@@ -942,7 +942,7 @@ class BaseException:
|
||||
__cause__ = ... # type: Optional[BaseException]
|
||||
__context__ = ... # type: Optional[BaseException]
|
||||
__traceback__ = ... # type: Optional[TracebackType]
|
||||
def __init__(self, *args: object, **kwargs: object) -> None: ...
|
||||
def __init__(self, *args: object) -> None: ...
|
||||
def with_traceback(self, tb: Optional[TracebackType]) -> BaseException: ...
|
||||
|
||||
class GeneratorExit(BaseException): ...
|
||||
|
||||
Reference in New Issue
Block a user