Skip to content

Commit

Permalink
[3.11] gh-101100: Fix Sphinx warning in tutorial/introduction.rst (G…
Browse files Browse the repository at this point in the history
…H-111173) (#111176)

gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (GH-111173)
(cherry picked from commit 663cf51)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
  • Loading branch information
miss-islington and m-aciek committed Oct 22, 2023
1 parent cf77739 commit d0502a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Doc/tools/.nitignore
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,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
Expand Down
2 changes: 1 addition & 1 deletion Doc/tutorial/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0502a9

Please sign in to comment.