diff options
author | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2023-05-04 08:17:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 08:17:12 (GMT) |
commit | d0122372f2acb4cc56b89ab8c577ff9039d17d89 (patch) | |
tree | f50db57b34be236de4b6c7a829897d932468fbaf /Doc/library/site.rst | |
parent | cd9a56c2b0e14f56f2e83dd4db43c5c69a74b232 (diff) | |
download | cpython-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.rst | 4 |
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 |