Doc: Missing 'f' in an f-string. (GH-9074)

This commit is contained in:
Julien Palard 2018-09-07 11:31:47 +02:00 committed by Victor Stinner
parent f9925d86c9
commit 25fa141487
1 changed files with 1 additions and 1 deletions

View 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