Improve accuracy of six byte index methods (#9117)

This commit is contained in:
Samuel T
2022-11-09 22:22:33 -05:00
committed by GitHub
parent 0ac98f6b80
commit 796bdc2eb0
6 changed files with 41 additions and 20 deletions

View File

@@ -119,7 +119,7 @@ class SupportsKeysAndGetItem(Protocol[_KT, _VT_co]):
# stable
class SupportsGetItem(Protocol[_KT_contra, _VT_co]):
def __contains__(self, __x: object) -> bool: ...
def __contains__(self, __x: Any) -> bool: ...
def __getitem__(self, __key: _KT_contra) -> _VT_co: ...
# stable