Correct several positional-only differences in third-party stubs (#7352)

This commit is contained in:
Alex Waygood
2022-02-22 14:49:51 +00:00
committed by GitHub
parent 69abe56e18
commit 64af11c78f
6 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -38,6 +38,6 @@ class Context(Mapping[ContextVar[Any], Any]):
def __init__(self) -> None: ...
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: ...