From 0e21ac989265cb7f99994ceb1488e072936ee06e Mon Sep 17 00:00:00 2001 From: Matthew Page Date: Fri, 5 May 2017 10:41:06 -0700 Subject: [PATCH] Add stub for string.casefold Exists in 3.3+ --- stdlib/3/builtins.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 3cd9da463..c283abe1d 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -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: ...