Typo in the Python tutorial
Pablo RodrÃguez Caballero <[email protected]> Tue, 04 Sep 2018 06:11:04 -0400
| Newsgroups | gmane.comp.python.documentation |
|---|---|
| Message-ID | <9ce-5b8e5a00-1-7a015a00@68953712> |
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 - [email protected]
https://mail.python.org/mailman/listinfo/doc-sig