[Doc-SIG] Typo in the Python tutorial

Pablo Rodríguez Caballero pablo at rodriguezcaballero.me
Tue Sep 4 06:11:04 EDT 2018


Hello,

there is a typo in the Python Tutorial in section 7.1.1:

https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals

The following line:

>>> print('My hovercraft is full of {animals !r}.')

Should be:

>>> print(f'My hovercraft is full of {animals !r}.')

Note the missing "f". Thank you for listening.

Kind regards,
Pablo Rodríguez Caballero.



More information about the Doc-SIG mailing list