Skip to content

Commit d3476dc

Browse files
miss-islingtonsobolevnhugovk
authored
[3.11] gh-101100: Fix sphinx warnings in tutorial/appendix.rst (GH-108750) (#108757)
Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 3b14346 commit d3476dc

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
@@ -157,7 +157,6 @@ Doc/reference/datamodel.rst
157157
Doc/reference/expressions.rst
158158
Doc/reference/import.rst
159159
Doc/reference/simple_stmts.rst
160-
Doc/tutorial/appendix.rst
161160
Doc/tutorial/controlflow.rst
162161
Doc/tutorial/datastructures.rst
163162
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)