diff --git a/django-stubs/utils/encoding.pyi b/django-stubs/utils/encoding.pyi index 7cd32a54a..e6cb623a1 100644 --- a/django-stubs/utils/encoding.pyi +++ b/django-stubs/utils/encoding.pyi @@ -8,14 +8,14 @@ class DjangoUnicodeDecodeError(UnicodeDecodeError): def smart_text( s: Any, encoding: str = ..., strings_only: bool = ..., errors: str = ... -) -> Any: ... +) -> str: ... def is_protected_type(obj: Any) -> bool: ... def force_text( s: Any, encoding: str = ..., strings_only: bool = ..., errors: str = ... -) -> Any: ... +) -> str: ... def force_bytes( s: Any, encoding: str = ..., strings_only: bool = ..., errors: str = ... -) -> Any: ... +) -> bytes: ... smart_str = smart_text force_str = force_text