mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Stdlib: correct many parameter names (#9815)
This commit is contained in:
@@ -48,7 +48,7 @@ else:
|
||||
def __init__(self, test_case: TestCase, logger_name: str, level: int) -> None: ...
|
||||
def __enter__(self) -> _LoggingWatcher: ...
|
||||
def __exit__(
|
||||
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
|
||||
self, exc_type: type[BaseException] | None, exc_value: BaseException | None, tb: TracebackType | None
|
||||
) -> bool | None: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
|
||||
@@ -81,7 +81,7 @@ class _Call(tuple[Any, ...]):
|
||||
from_kall: bool = True,
|
||||
) -> None: ...
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
def __ne__(self, __other: object) -> bool: ...
|
||||
def __ne__(self, __value: object) -> bool: ...
|
||||
def __call__(self, *args: Any, **kwargs: Any) -> _Call: ...
|
||||
def __getattr__(self, attr: str) -> Any: ...
|
||||
def __getattribute__(self, attr: str) -> Any: ...
|
||||
@@ -437,6 +437,6 @@ class PropertyMock(Mock):
|
||||
else:
|
||||
def __get__(self, obj: _T, obj_type: type[_T] | None) -> Self: ...
|
||||
|
||||
def __set__(self, obj: Any, value: Any) -> None: ...
|
||||
def __set__(self, obj: Any, val: Any) -> None: ...
|
||||
|
||||
def seal(mock: Any) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user