summaryrefslogtreecommitdiffstats
path: root/Doc/library/site.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/site.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/site.rst')
-rw-r--r--Doc/library/site.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst
index 4a88013..a4efefd 100644
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -109,7 +109,7 @@ directory precedes the :file:`foo` directory because :file:`bar.pth` comes
alphabetically before :file:`foo.pth`; and :file:`spam` is omitted because it is
not mentioned in either path configuration file.
-.. index:: module: sitecustomize
+.. index:: pair: module; sitecustomize
After these path manipulations, an attempt is made to import a module named
:mod:`sitecustomize`, which can perform arbitrary site-specific customizations.
@@ -121,7 +121,7 @@ with :file:`pythonw.exe` on Windows (which is used by default to start IDLE),
attempted output from :mod:`sitecustomize` is ignored. Any other exception
causes a silent and perhaps mysterious failure of the process.
-.. index:: module: usercustomize
+.. index:: pair: module; usercustomize
After this, an attempt is made to import a module named :mod:`usercustomize`,
which can perform arbitrary user-specific customizations, if