]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101100: Fix sphinx warnings in `tutorial/appendix.rst` (#108750)
authorNikita Sobolev <mail@sobolevn.me>
Fri, 1 Sep 2023 10:57:34 +0000 (13:57 +0300)
committerGitHub <noreply@github.com>
Fri, 1 Sep 2023 10:57:34 +0000 (10:57 +0000)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/tools/.nitignore
Doc/tutorial/appendix.rst

index 67641f73e4649cd11de0a1e3802dea926402beaa..1d89c9c683a0707ad8168892a9bb8b419fe473b8 100644 (file)
@@ -155,7 +155,6 @@ Doc/reference/datamodel.rst
 Doc/reference/expressions.rst
 Doc/reference/import.rst
 Doc/reference/simple_stmts.rst
-Doc/tutorial/appendix.rst
 Doc/tutorial/controlflow.rst
 Doc/tutorial/datastructures.rst
 Doc/tutorial/introduction.rst
index 241a812037469e2e241b8fc95788b9cc0626754a..588591fcdb726f72de84036eab8e3616ce346e03 100644 (file)
@@ -101,8 +101,8 @@ in the script::
 The Customization Modules
 -------------------------
 
-Python provides two hooks to let you customize it: :mod:`sitecustomize` and
-:mod:`usercustomize`.  To see how it works, you need first to find the location
+Python provides two hooks to let you customize it: :index:`sitecustomize` and
+:index:`usercustomize`.  To see how it works, you need first to find the location
 of your user site-packages directory.  Start Python and run this code::
 
    >>> import site
@@ -113,9 +113,9 @@ Now you can create a file named :file:`usercustomize.py` in that directory and
 put anything you want in it.  It will affect every invocation of Python, unless
 it is started with the :option:`-s` option to disable the automatic import.
 
-:mod:`sitecustomize` works in the same way, but is typically created by an
+:index:`sitecustomize` works in the same way, but is typically created by an
 administrator of the computer in the global site-packages directory, and is
-imported before :mod:`usercustomize`.  See the documentation of the :mod:`site`
+imported before :index:`usercustomize`.  See the documentation of the :mod:`site`
 module for more details.