Skip to content

Commit b3fd498

Browse files
authored
[titlecase] titlecase() returns str, not LiteralString (#16822)
1 parent 3211e58 commit b3fd498

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎stubs/titlecase/titlecase/__init__.pyi‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import logging
22
import re
33
from typing import Final, Protocol, TypeAlias, overload, type_check_only
4-
from typing_extensions import LiteralString
54

65
import regex
76

@@ -44,6 +43,6 @@ def set_small_word_list(small: str) -> None: ...
4443

4544
def titlecase(
4645
text: str, callback: _CallbackProtocol | None = None, small_first_last: bool = True, preserve_blank_lines: bool = False
47-
) -> LiteralString: ...
46+
) -> str: ...
4847
def create_wordlist_filter_from_file(file_path: str | None) -> _CallbackProtocol: ...
4948
def cmd() -> None: ...

0 commit comments

Comments
 (0)