From 273e9ea6ddc2d5cad2db7dd25a0383a61be15675 Mon Sep 17 00:00:00 2001 From: "Anuraag (Rag) Agrawal" Date: Thu, 25 Apr 2024 10:54:17 +0900 Subject: [PATCH] Fix comment referencing incorrect type name (#11832) --- stdlib/_typeshed/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/_typeshed/__init__.pyi b/stdlib/_typeshed/__init__.pyi index d7f54282b..6937d97b8 100644 --- a/stdlib/_typeshed/__init__.pyi +++ b/stdlib/_typeshed/__init__.pyi @@ -151,7 +151,7 @@ class SupportsKeysAndGetItem(Protocol[_KT, _VT_co]): def keys(self) -> Iterable[_KT]: ... def __getitem__(self, key: _KT, /) -> _VT_co: ... -# This protocol is currently under discussion. Use SupportsGetItemAndContains +# This protocol is currently under discussion. Use SupportsContainsAndGetItem # instead, if you require the __contains__ method. # See https://github.com/python/typeshed/issues/11822. class SupportsGetItem(Protocol[_KT_contra, _VT_co]):