From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 7 Sep 2018 09:59:00 +0000 (-0700) Subject: Doc: Missing 'f' in an f-string. (GH-9074) (GH-9095) X-Git-Tag: v3.7.1rc1~113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=854b740910f20441b6a42c2047d5f0ad0451404e;p=thirdparty%2FPython%2Fcpython.git Doc: Missing 'f' in an f-string. (GH-9074) (GH-9095) (cherry picked from commit 25fa141487e61b94f15289619cb3af764cf65e58) Co-authored-by: Julien Palard --- diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst index dfe4c3849cbe..a92c26681596 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