mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +00:00
Doc: Missing 'f' in an f-string. (GH-9074)
This commit is contained in:
parent
f9925d86c9
commit
25fa141487
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue