PEP 498 f-strings need to be documented (issue 25179)
Reviewers: , Message: Thanks for taking this on! I have just a few nits, as noted. http://bugs.python.org/review/25179/diff/16513/Doc/reference/lexical_analysi... File Doc/reference/lexical_analysis.rst (right): http://bugs.python.org/review/25179/diff/16513/Doc/reference/lexical_analysi... Doc/reference/lexical_analysis.rst:661: cannot be split between literals. between -> across http://bugs.python.org/review/25179/diff/16513/Doc/whatsnew/3.6.rst File Doc/whatsnew/3.6.rst (right): http://bugs.python.org/review/25179/diff/16513/Doc/whatsnew/3.6.rst#newcode9... Doc/whatsnew/3.6.rst:95: >>> f"He said his name is {name!r}." Many people will see this as their first example. As such, I'd delete the !r and just have it be f"He said his name is {name}." I think !r would tend to scare people off. Please review this at http://bugs.python.org/review/25179/ Affected files: Doc/faq/programming.rst Doc/library/datetime.rst Doc/library/enum.rst Doc/library/stdtypes.rst Doc/library/string.rst Doc/reference/datamodel.rst Doc/reference/lexical_analysis.rst Doc/tutorial/inputoutput.rst Doc/tutorial/introduction.rst Doc/whatsnew/3.6.rst
participants (1)
-
eric@trueblade.com