From fa538a095d53470dc2403a725a72286406443022 Mon Sep 17 00:00:00 2001 From: Maciej Olko Date: Sat, 16 Sep 2023 20:01:44 +0200 Subject: [PATCH] gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` --- Doc/tools/.nitignore | 1 - Doc/tutorial/introduction.rst | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore index 39a10992193ffc..5d48251be1a632 100644 --- a/Doc/tools/.nitignore +++ b/Doc/tools/.nitignore @@ -154,7 +154,6 @@ Doc/reference/import.rst Doc/reference/simple_stmts.rst Doc/tutorial/controlflow.rst Doc/tutorial/datastructures.rst -Doc/tutorial/introduction.rst Doc/using/cmdline.rst Doc/using/configure.rst Doc/using/windows.rst diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 0fc75c7d7532e2..3e6fa616026370 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