diff options
-rw-r--r-- | Doc/tutorial/inputoutput.rst | 2 |
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 |