]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Missing 'f' in an f-string. (GH-9074)
authorJulien Palard <julien@palard.fr>
Fri, 7 Sep 2018 09:31:47 +0000 (11:31 +0200)
committerVictor Stinner <vstinner@redhat.com>
Fri, 7 Sep 2018 09:31:47 +0000 (11:31 +0200)
Doc/tutorial/inputoutput.rst

index dfe4c3849cbebdc2ac3cc7ac3c98444ff54fd03a..a92c266815969008437f45cb140f1fb3fc730302 100644 (file)
@@ -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