Skip to content

Commit 3047f09

Browse files
sobolevnhugovk
andauthored
gh-101100: Fix sphinx warnings in tutorial/appendix.rst (#108750)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent e775601 commit 3047f09

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
@@ -155,7 +155,6 @@ Doc/reference/datamodel.rst
155155
Doc/reference/expressions.rst
156156
Doc/reference/import.rst
157157
Doc/reference/simple_stmts.rst
158-
Doc/tutorial/appendix.rst
159158
Doc/tutorial/controlflow.rst
160159
Doc/tutorial/datastructures.rst
161160
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)