mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Correct str.__new__ argument name (#7422)
This commit is contained in:
@@ -366,7 +366,7 @@ class str(Sequence[str]):
|
||||
@overload
|
||||
def __new__(cls: type[Self], object: object = ...) -> Self: ...
|
||||
@overload
|
||||
def __new__(cls: type[Self], o: bytes, encoding: str = ..., errors: str = ...) -> Self: ...
|
||||
def __new__(cls: type[Self], object: bytes, encoding: str = ..., errors: str = ...) -> Self: ...
|
||||
def capitalize(self) -> str: ...
|
||||
def casefold(self) -> str: ...
|
||||
def center(self, __width: SupportsIndex, __fillchar: str = ...) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user