summaryrefslogtreecommitdiffstats
path: root/Doc/library/locale.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-05-25 20:04:06 (GMT)
committerGitHub <noreply@github.com>2022-05-25 20:04:06 (GMT)
commitbf58cd01b313837511d9399f18588ccd2e5dc5a9 (patch)
treea80d7beab81640cee2c4ee77ffff6f179d2fa2d2 /Doc/library/locale.rst
parent854db1a6061c83d80a3f1e4e87f043b521719920 (diff)
downloadcpython-bf58cd01b313837511d9399f18588ccd2e5dc5a9.zip
cpython-bf58cd01b313837511d9399f18588ccd2e5dc5a9.tar.gz
cpython-bf58cd01b313837511d9399f18588ccd2e5dc5a9.tar.bz2
gh-90817: Deprecate explicitly locale.resetlocale() (#93196)
The function was already deprecated in Python 3.11 since it calls locale.getdefaultlocale() which was deprecated in Python 3.11.
Diffstat (limited to 'Doc/library/locale.rst')
-rw-r--r--Doc/library/locale.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst
index 77a3e03..112f0ba 100644
--- a/Doc/library/locale.rst
+++ b/Doc/library/locale.rst
@@ -375,6 +375,8 @@ The :mod:`locale` module defines the following exception and functions:
The default setting is determined by calling :func:`getdefaultlocale`.
*category* defaults to :const:`LC_ALL`.
+ .. deprecated:: 3.11 3.13
+
.. function:: strcoll(string1, string2)