Skip to content

Commit

Permalink
pythongh-101100: Fix Sphinx warning in tutorial/introduction.rst (p…
Browse files Browse the repository at this point in the history
…ythonGH-111173)

(cherry picked from commit 663cf51)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
  • Loading branch information
m-aciek authored and miss-islington committed Oct 22, 2023
1 parent 028f477 commit 260e933
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 @@ -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
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 260e933

Please sign in to comment.