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

View File

@@ -15,7 +15,7 @@ class frozendict(Mapping[_KT, _VT], Generic[_KT, _VT]):
@overload
def __init__(self, iterable: Iterable[tuple[_KT, _VT]]) -> None: ...
def __getitem__(self, key: _KT) -> _VT: ...
def __contains__(self, key: object) -> bool: ...
def __contains__(self, __key: object) -> bool: ...
def copy(self: Self, **add_or_replace: _VT) -> Self: ...
def __iter__(self) -> Iterator[_KT]: ...
def __len__(self) -> int: ...