mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 09:33:25 +08:00
This reverts commit fed4e03e53.
This commit is contained in:
committed by
Matthias Kramm
parent
1a9685c6ce
commit
16aa0651ae
@@ -108,11 +108,6 @@ class int(SupportsInt, SupportsFloat, SupportsAbs[int]):
|
||||
@overload
|
||||
def __init__(self, x: Union[str, bytes], base: int = ...) -> None: ...
|
||||
|
||||
@overload
|
||||
def __new__(cls: Type[_T1], x: SupportsInt = ...) -> _T1: ...
|
||||
@overload
|
||||
def __new__(cls: Type[_T1], x: Union[str, bytes], base: int = ...) -> _T1: ...
|
||||
|
||||
def bit_length(self) -> int: ...
|
||||
def to_bytes(self, length: int, byteorder: str, *, signed: bool = ...) -> bytes: ...
|
||||
@classmethod
|
||||
@@ -240,11 +235,6 @@ class str(Sequence[str]):
|
||||
@overload
|
||||
def __init__(self, o: bytes, encoding: str = ..., errors: str = ...) -> None: ...
|
||||
|
||||
@overload
|
||||
def __new__(cls: Type[_T1], o: object = ...) -> _T1: ...
|
||||
@overload
|
||||
def __new__(cls: Type[_T1], o: bytes, encoding: str = ..., errors: str = ...) -> _T1: ...
|
||||
|
||||
def capitalize(self) -> str: ...
|
||||
def casefold(self) -> str: ...
|
||||
def center(self, width: int, fillchar: str = ' ') -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user