From: Julien Palard Date: Fri, 7 Sep 2018 09:31:47 +0000 (+0200) Subject: Doc: Missing 'f' in an f-string. (GH-9074) X-Git-Tag: v3.8.0a1~1096 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25fa141487e61b94f15289619cb3af764cf65e58;p=thirdparty%2FPython%2Fcpython.git Doc: Missing 'f' in an f-string. (GH-9074) --- 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