Add stub for string.casefold

Exists in 3.3+
This commit is contained in:
Matthew Page authored and Łukasz Langa committed 2017-05-05 11:11:25 -07:00
1 parent ac4cb7a619
commit 0e21ac9892
1 file changed
+1
+1
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: ...