Fix positional-only differences in many stdlib modules (#7226)

This commit is contained in:
Alex Waygood
2022-02-15 14:14:06 +00:00
committed by GitHub
parent 32e9a0fbc1
commit f4967618dd
10 changed files with 23 additions and 23 deletions

View File

@@ -46,6 +46,6 @@ class Context(Mapping[ContextVar[Any], Any]):
def get(self, __key: ContextVar[_T], __default: _D) -> _T | _D: ...
def run(self, callable: Callable[_P, _T], *args: _P.args, **kwargs: _P.kwargs) -> _T: ...
def copy(self) -> Context: ...
def __getitem__(self, key: ContextVar[_T]) -> _T: ...
def __getitem__(self, __key: ContextVar[_T]) -> _T: ...
def __iter__(self) -> Iterator[ContextVar[Any]]: ...
def __len__(self) -> int: ...