summaryrefslogtreecommitdiffstats
path: root/Doc/library/locale.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-12-13 07:24:55 (GMT)
committerGitHub <noreply@github.com>2023-12-13 07:24:55 (GMT)
commit3531ea441b8b76bff90d2ecc062335da65fd3341 (patch)
treea835b5817b4093b17afd210d34e7fdf499a70f69 /Doc/library/locale.rst
parent3aea6c4823e90172c9bc36cd20dc51b295d8a3c4 (diff)
downloadcpython-3531ea441b8b76bff90d2ecc062335da65fd3341.zip
cpython-3531ea441b8b76bff90d2ecc062335da65fd3341.tar.gz
cpython-3531ea441b8b76bff90d2ecc062335da65fd3341.tar.bz2
gh-101100: Fix Sphinx warning in references with asterisks (#113029)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Doc/library/locale.rst')
-rw-r--r--Doc/library/locale.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst
index 0d48892..a720119 100644
--- a/Doc/library/locale.rst
+++ b/Doc/library/locale.rst
@@ -309,7 +309,7 @@ The :mod:`locale` module defines the following exception and functions:
.. function:: getlocale(category=LC_CTYPE)
Returns the current setting for the given locale category as sequence containing
- *language code*, *encoding*. *category* may be one of the :const:`LC_\*` values
+ *language code*, *encoding*. *category* may be one of the :const:`!LC_\*` values
except :const:`LC_ALL`. It defaults to :const:`LC_CTYPE`.
Except for the code ``'C'``, the language code corresponds to :rfc:`1766`.