mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-09-17 08:43:15 +08:00
Third-party stubs: Improve several __exit__ methods (#7575)
This commit is contained in:
@@ -41,7 +41,7 @@ class _freeze_time:
|
||||
@overload
|
||||
def __call__(self, func: Callable[..., _T]) -> Callable[..., _T]: ...
|
||||
def __enter__(self) -> FrozenDateTimeFactory | StepTickTimeFactory: ...
|
||||
def __exit__(self, *args: Any) -> None: ...
|
||||
def __exit__(self, *args: object) -> None: ...
|
||||
def start(self) -> Any: ...
|
||||
def stop(self) -> None: ...
|
||||
def decorate_class(self, klass: type[_T]) -> _T: ...
|
||||
|
||||
Reference in New Issue
Block a user