mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-31 07:05:24 +08:00
Improve many __(a)exit__ annotations (#9696)
This commit is contained in:
@@ -65,7 +65,7 @@ class MockedProgram(CustomSearchPath):
|
||||
program_signal_file: Any
|
||||
def __init__(self, name, returncode: int = ..., script: Incomplete | None = ...) -> None: ...
|
||||
def __enter__(self): ...
|
||||
def __exit__(self, *args, **kw): ...
|
||||
def __exit__(self, *args: object, **kw: object): ...
|
||||
|
||||
class CaptureOutput(ContextManager):
|
||||
stdin: Any
|
||||
|
||||
Reference in New Issue
Block a user