]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Missing 'f' in an f-string. (GH-9074) (GH-9095)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 7 Sep 2018 09:59:00 +0000 (02:59 -0700)
committerVictor Stinner <vstinner@redhat.com>
Fri, 7 Sep 2018 09:59:00 +0000 (11:59 +0200)
(cherry picked from commit 25fa141487e61b94f15289619cb3af764cf65e58)

Co-authored-by: Julien Palard <julien@palard.fr>
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