summaryrefslogtreecommitdiffstats
path: root/Doc/library/locale.rst
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-05-04 08:17:12 (GMT)
committerGitHub <noreply@github.com>2023-05-04 08:17:12 (GMT)
commitd0122372f2acb4cc56b89ab8c577ff9039d17d89 (patch)
treef50db57b34be236de4b6c7a829897d932468fbaf /Doc/library/locale.rst
parentcd9a56c2b0e14f56f2e83dd4db43c5c69a74b232 (diff)
downloadcpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.zip
cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.tar.gz
cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.tar.bz2
GH-97950: Use new-style index directive ('module') (#103996)
* Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference * Use new-style index directive ('module') - Tutorial * Uncomment module removal in pairindextypes * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference
Diffstat (limited to 'Doc/library/locale.rst')
-rw-r--r--Doc/library/locale.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst
index f726f83..f2abb363 100644
--- a/Doc/library/locale.rst
+++ b/Doc/library/locale.rst
@@ -16,7 +16,7 @@ functionality. The POSIX locale mechanism allows programmers to deal with
certain cultural issues in an application, without requiring the programmer to
know all the specifics of each country where the software is executed.
-.. index:: module: _locale
+.. index:: pair: module; _locale
The :mod:`locale` module is implemented on top of the :mod:`_locale` module,
which in turn uses an ANSI C locale implementation if available.
@@ -464,7 +464,7 @@ The :mod:`locale` module defines the following exception and functions:
.. data:: LC_CTYPE
- .. index:: module: string
+ .. index:: pair: module; string
Locale category for the character type functions. Depending on the settings of
this category, the functions of module :mod:`string` dealing with case change