1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

[3.2.x] Fixed documented alias of smart_text().

This commit is contained in:
Denys Halenok 2024-01-11 20:16:20 +01:00 committed by GitHub
parent c9ad858033
commit 90eae45b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,7 +276,7 @@ The functions defined in this module share the following properties:
.. deprecated:: 3.0 .. deprecated:: 3.0
Alias of :func:`force_str` for backwards compatibility, especially in code Alias of :func:`smart_str` for backwards compatibility, especially in code
that supports Python 2. that supports Python 2.
.. function:: force_text(s, encoding='utf-8', strings_only=False, errors='strict') .. function:: force_text(s, encoding='utf-8', strings_only=False, errors='strict')