mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Mark pos-only __class_getitem__ args (#11970)
This commit is contained in:
@@ -58,7 +58,7 @@ class ValueProxy(BaseProxy, Generic[_T]):
|
||||
def set(self, value: _T) -> None: ...
|
||||
value: _T
|
||||
if sys.version_info >= (3, 9):
|
||||
def __class_getitem__(cls, item: Any) -> GenericAlias: ...
|
||||
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
|
||||
|
||||
class DictProxy(BaseProxy, MutableMapping[_KT, _VT]):
|
||||
__builtins__: ClassVar[dict[str, Any]]
|
||||
|
||||
Reference in New Issue
Block a user