mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
[3.11] gh-101100: Fix Sphinx warning in tutorial/introduction.rst
(GH-111173) (#111176)
gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (GH-111173)
(cherry picked from commit 663cf513b0
)
Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
This commit is contained in:
parent
cf777399a9
commit
d0502a9c67
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue