From ce212dc74ea56247f332f68161ce98630f8c1034 Mon Sep 17 00:00:00 2001 From: hemtilva Date: Mon, 16 Nov 2026 10:54:07 +0530 Subject: [PATCH] [titlecase] titlecase() returns str, not LiteralString --- stubs/titlecase/titlecase/__init__.pyi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stubs/titlecase/titlecase/__init__.pyi b/stubs/titlecase/titlecase/__init__.pyi index 440dd637180b..cec1ac12af3d 100644 --- a/stubs/titlecase/titlecase/__init__.pyi +++ b/stubs/titlecase/titlecase/__init__.pyi @@ -1,7 +1,6 @@ import logging import re from typing import Final, Protocol, TypeAlias, overload, type_check_only -from typing_extensions import LiteralString import regex @@ -44,6 +43,6 @@ def set_small_word_list(small: str) -> None: ... def titlecase( text: str, callback: _CallbackProtocol | None = None, small_first_last: bool = True, preserve_blank_lines: bool = False -) -> LiteralString: ... +) -> str: ... def create_wordlist_filter_from_file(file_path: str | None) -> _CallbackProtocol: ... def cmd() -> None: ...