mirror of
https://github.com/python/cpython
synced 2024-09-16 03:59:56 +00:00
gh-101100: Fix Sphinx warning in tutorial/introduction.rst
(#111173)
This commit is contained in:
parent
c9c4a87f5d
commit
663cf513b0
|
@ -140,7 +140,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
|
||||
|
|
|
@ -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…
Reference in a new issue