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.

_______________________________________________
Doc-SIG maillist  -  Doc-SIG@python.org
https://mail.python.org/mailman/listinfo/doc-sig

Reply via email to