Skip to content

Commit f58617a

Browse files
hugovksobolevn
andauthored
[3.12] gh-101100: Fix sphinx warnings in tutorial/appendix.rst (GH-108750) (#108759)
(cherry picked from commit 3047f09) Co-authored-by: Nikita Sobolev <[email protected]>
1 parent 4dc07d2 commit f58617a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Doc/tools/.nitignore

-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ Doc/reference/datamodel.rst
171171
Doc/reference/expressions.rst
172172
Doc/reference/import.rst
173173
Doc/reference/simple_stmts.rst
174-
Doc/tutorial/appendix.rst
175174
Doc/tutorial/controlflow.rst
176175
Doc/tutorial/datastructures.rst
177176
Doc/tutorial/introduction.rst

Doc/tutorial/appendix.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ in the script::
101101
The Customization Modules
102102
-------------------------
103103

104-
Python provides two hooks to let you customize it: :mod:`sitecustomize` and
105-
:mod:`usercustomize`. To see how it works, you need first to find the location
104+
Python provides two hooks to let you customize it: :index:`sitecustomize` and
105+
:index:`usercustomize`. To see how it works, you need first to find the location
106106
of your user site-packages directory. Start Python and run this code::
107107

108108
>>> import site
@@ -113,9 +113,9 @@ Now you can create a file named :file:`usercustomize.py` in that directory and
113113
put anything you want in it. It will affect every invocation of Python, unless
114114
it is started with the :option:`-s` option to disable the automatic import.
115115

116-
:mod:`sitecustomize` works in the same way, but is typically created by an
116+
:index:`sitecustomize` works in the same way, but is typically created by an
117117
administrator of the computer in the global site-packages directory, and is
118-
imported before :mod:`usercustomize`. See the documentation of the :mod:`site`
118+
imported before :index:`usercustomize`. See the documentation of the :mod:`site`
119119
module for more details.
120120

121121

0 commit comments

Comments
 (0)