]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (GH-111173) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 22 Oct 2023 12:01:24 +0000 (14:01 +0200)
committerGitHub <noreply@github.com>
Sun, 22 Oct 2023 12:01:24 +0000 (12:01 +0000)
gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (GH-111173)
(cherry picked from commit 663cf513b0e973ab7aa4a8609d6616ad2c283f22)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
Doc/tools/.nitignore
Doc/tutorial/introduction.rst

index 8a7008e9aa73f1864a47e440021d5997b303f5c2..e59f6d76af068ab3608e7067f33f277a0c40165b 100644 (file)
@@ -157,7 +157,6 @@ Doc/reference/expressions.rst
 Doc/reference/import.rst
 Doc/reference/simple_stmts.rst
 Doc/tutorial/datastructures.rst
-Doc/tutorial/introduction.rst
 Doc/using/windows.rst
 Doc/whatsnew/2.0.rst
 Doc/whatsnew/2.1.rst
index 172611dd0cfb41078e09a459a42dc03dbec4fc2e..4536ab9486d39cf0019c5fab6156998efd220976 100644 (file)
@@ -428,7 +428,7 @@ type, i.e. it is possible to change their content::
     [1, 8, 27, 64, 125]
 
 You can also add new items at the end of the list, by using
-the :meth:`~list.append` *method* (we will see more about methods later)::
+the :meth:`!list.append` *method* (we will see more about methods later)::
 
    >>> cubes.append(216)  # add the cube of 6
    >>> cubes.append(7 ** 3)  # and the cube of 7