mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-14 04:14:52 +08:00
builtins: remove __class_getitem__ from type (#4270)
Co-authored-by: hauntsaninja <>
This commit is contained in:
co-authored by
hauntsaninja <>
parent
2ba6939788
commit
fc8b0ed94e
@@ -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