Doc: Missing 'f' in an f-string. (GH-9074)
This commit is contained in:
parent
f9925d86c9
commit
25fa141487
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue