mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
builtins: remove __class_getitem__ from type (#4270)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -131,8 +131,6 @@ class type(object):
|
||||
if sys.version_info >= (3,):
|
||||
@classmethod
|
||||
def __prepare__(metacls, __name: str, __bases: Tuple[type, ...], **kwds: Any) -> Mapping[str, Any]: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def __class_getitem__(cls, item: Any) -> GenericAlias: ...
|
||||
|
||||
class super(object):
|
||||
if sys.version_info >= (3,):
|
||||
|
||||
Reference in New Issue
Block a user