Skip to content

Commit 0e21ac9

Browse files
mpageambv
authored andcommitted
Add stub for string.casefold
Exists in 3.3+
1 parent ac4cb7a commit 0e21ac9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/3/builtins.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ class str(Sequence[str]):
233233
@overload
234234
def __init__(self, o: bytes, encoding: str = ..., errors: str = 'strict') -> None: ...
235235
def capitalize(self) -> str: ...
236+
def casefold(self) -> str: ...
236237
def center(self, width: int, fillchar: str = ' ') -> str: ...
237238
def count(self, x: str, __start: Optional[int] = ..., __end: Optional[int] = ...) -> int: ...
238239
def encode(self, encoding: str = 'utf-8', errors: str = 'strict') -> bytes: ...

0 commit comments

Comments
 (0)