Skip to content

Commit 62c2cd0

Browse files
authored
Add a ty:ignore
1 parent 260711e commit 62c2cd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stdlib/_typeshed/__init__.pyi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class SupportsKeysAndGetItem(Protocol[_KT, _VT_co]):
189189
def keys(self) -> Iterable[_KT]: ...
190190
def __getitem__(self, key: _KT, /) -> _VT_co: ...
191191

192-
class SupportsKeysAndGet(Protocol[_KT, _VT_co]): # type: ignore[misc] # Covariant type as parameter
192+
class SupportsKeysAndGet(Protocol[_KT, _VT_co]): # type: ignore[misc] # ty:ignore[invalid-protocol] # Covariant type as parameter
193193
def keys(self) -> Iterable[_KT]: ...
194194

195195
@overload

0 commit comments

Comments
 (0)