mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
gh-101100: Fix Sphinx warning in tutorial/introduction.rst
(#111173)
This commit is contained in:
parent
c9c4a87f5d
commit
663cf513b0
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