mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-18 09:55:59 +08:00
Added class super to builtins (#867)
This commit is contained in:
committed by
Łukasz Langa
parent
1d1a2e458c
commit
025f31dcc9
@@ -72,6 +72,14 @@ class type:
|
||||
# implementation seems to be returning a list.
|
||||
def mro(self) -> List[type]: ...
|
||||
|
||||
class super(object):
|
||||
@overload
|
||||
def __init__(self, t: Any, obj: Any) -> None: ...
|
||||
@overload
|
||||
def __init__(self, t: Any) -> None: ...
|
||||
@overload
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class int(SupportsInt, SupportsFloat, SupportsAbs[int]):
|
||||
def __init__(self, x: Union[SupportsInt, str, bytes] = ..., base: int = ...) -> None: ...
|
||||
def bit_length(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user