mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-28 07:13:16 +08:00
Improve accuracy of six byte index methods (#9117)
This commit is contained in:
1 parent
0ac98f6b80
commit
796bdc2eb0
6 files changed
+41
-20
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user