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'
|
>>> animals = 'eels'
|
||||||
>>> print(f'My hovercraft is full of {animals}.')
|
>>> print(f'My hovercraft is full of {animals}.')
|
||||||
My hovercraft is full of eels.
|
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'.
|
My hovercraft is full of 'eels'.
|
||||||
|
|
||||||
For a reference on these format specifications, see
|
For a reference on these format specifications, see
|
||||||
|
|
Loading…
Reference in New Issue