mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
stdlib: builtins.type.__base__ can be None (#11040)
This commit is contained in:
@@ -161,8 +161,9 @@ class classmethod(Generic[_T, _P, _R_co]):
|
||||
def __wrapped__(self) -> Callable[Concatenate[type[_T], _P], _R_co]: ...
|
||||
|
||||
class type:
|
||||
# object.__base__ is None. Otherwise, it would be a type.
|
||||
@property
|
||||
def __base__(self) -> type: ...
|
||||
def __base__(self) -> type | None: ...
|
||||
__bases__: tuple[type, ...]
|
||||
@property
|
||||
def __basicsize__(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user