Kaydet (Commit) 25fa1414 authored tarafından Julien Palard's avatar Julien Palard Kaydeden (comit) Victor Stinner

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

üst f9925d86
...@@ -127,7 +127,7 @@ applies :func:`repr`:: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment