summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2018-09-07 09:31:47 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-09-07 09:31:47 (GMT)
commit25fa141487e61b94f15289619cb3af764cf65e58 (patch)
treec41a0eb7365c2c59db2d8a904bf61d29884e0f7f /Doc/tutorial
parentf9925d86c9d7a44b612576131cd5b84cfee36c4e (diff)
downloadcpython-25fa141487e61b94f15289619cb3af764cf65e58.zip
cpython-25fa141487e61b94f15289619cb3af764cf65e58.tar.gz
cpython-25fa141487e61b94f15289619cb3af764cf65e58.tar.bz2
Doc: Missing 'f' in an f-string. (GH-9074)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/inputoutput.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index dfe4c38..a92c266 100644
--- a/Doc/tutorial/inputoutput.rst
+++ b/Doc/tutorial/inputoutput.rst
@@ -127,7 +127,7 @@ applies :func:`repr`::
>>> animals = 'eels'
>>> print(f'My hovercraft is full of {animals}.')
My hovercraft is full of eels.
- >>> print('My hovercraft is full of {animals !r}.')
+ >>> print(f'My hovercraft is full of {animals !r}.')
My hovercraft is full of 'eels'.
For a reference on these format specifications, see