Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25fa141

Browse files
JulienPalardvstinner
authored andcommitted
Doc: Missing 'f' in an f-string. (GH-9074)
1 parent f9925d8 commit 25fa141

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tutorial/inputoutput.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ applies :func:`repr`::
127127
>>> animals = 'eels'
128128
>>> print(f'My hovercraft is full of {animals}.')
129129
My hovercraft is full of eels.
130-
>>> print('My hovercraft is full of {animals !r}.')
130+
>>> print(f'My hovercraft is full of {animals !r}.')
131131
My hovercraft is full of 'eels'.
132132

133133
For a reference on these format specifications, see

0 commit comments

Comments
 (0)