Improve accuracy of six byte index methods (#9117)

This commit is contained in:
Samuel T authored and GitHub committed 2022-11-09 19:22:33 -08:00
1 parent 0ac98f6b80
commit 796bdc2eb0
6 files changed
+41 -20

No files matched your search

+1 -1
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