stdlib: fix many attributes which are read-only at runtime but read-write in the stub (#7395)

This commit is contained in:
Alex Waygood
2022-02-28 00:23:09 +00:00
committed by GitHub
parent 46da0b87ea
commit a0b41959ec
17 changed files with 104 additions and 50 deletions

View File

@@ -200,8 +200,10 @@ class Helper:
symbols: dict[str, str]
topics: dict[str, str | tuple[str, ...]]
def __init__(self, input: IO[str] | None = ..., output: IO[str] | None = ...) -> None: ...
input: IO[str]
output: IO[str]
@property
def input(self) -> IO[str]: ...
@property
def output(self) -> IO[str]: ...
def __call__(self, request: str | Helper | object = ...) -> None: ...
def interact(self) -> None: ...
def getline(self, prompt: str) -> str: ...