mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 01:27:31 +08:00
This reverts commit fed4e03e53.
This commit is contained in:
1 parent
1a9685c6ce
commit
16aa0651ae
4 files changed
+2
-22
No files matched your search
@@ -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