summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorMaciej Olko <maciej.olko@affirm.com>2023-10-22 11:53:17 (GMT)
committerGitHub <noreply@github.com>2023-10-22 11:53:17 (GMT)
commit663cf513b0e973ab7aa4a8609d6616ad2c283f22 (patch)
tree1ef0c1a8dccb237d56f9c1bb872ad7af59d3f493 /Doc/tutorial
parentc9c4a87f5da8d1e9b7ab19c687b49ba5431f6d36 (diff)
downloadcpython-663cf513b0e973ab7aa4a8609d6616ad2c283f22.zip
cpython-663cf513b0e973ab7aa4a8609d6616ad2c283f22.tar.gz
cpython-663cf513b0e973ab7aa4a8609d6616ad2c283f22.tar.bz2
gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (#111173)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/introduction.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
index 172611d..4536ab9 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.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