mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add stub for string.casefold
Exists in 3.3+
This commit is contained in:
committed by
Łukasz Langa
parent
ac4cb7a619
commit
0e21ac9892
@@ -233,6 +233,7 @@ class str(Sequence[str]):
|
||||
@overload
|
||||
def __init__(self, o: bytes, encoding: str = ..., errors: str = 'strict') -> None: ...
|
||||
def capitalize(self) -> str: ...
|
||||
def casefold(self) -> str: ...
|
||||
def center(self, width: int, fillchar: str = ' ') -> str: ...
|
||||
def count(self, x: str, __start: Optional[int] = ..., __end: Optional[int] = ...) -> int: ...
|
||||
def encode(self, encoding: str = 'utf-8', errors: str = 'strict') -> bytes: ...
|
||||
|
||||
Reference in New Issue
Block a user