mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-07 03:53:23 +08:00
Improve accuracy of six byte index methods (#9117)
This commit is contained in:
@@ -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