Add stub for string.casefold

Exists in 3.3+
This commit is contained in:
Matthew Page
2017-05-05 10:41:06 -07:00
committed by Łukasz Langa
parent ac4cb7a619
commit 0e21ac9892

View File

@@ -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: ...