Re: [docs] PEP 498 f-strings need to be documented (issue 25179)

https://bugs.python.org/review/25179/diff/16513/Doc/reference/lexical_analys... File Doc/reference/lexical_analysis.rst (right): https://bugs.python.org/review/25179/diff/16513/Doc/reference/lexical_analys... Doc/reference/lexical_analysis.rst:661: cannot be split between literals. On 2016/02/07 16:32:18, eric.smith wrote:
between -> across
Many people will see this as their first example. As such, I'd delete
Done. https://bugs.python.org/review/25179/diff/16513/Doc/whatsnew/3.6.rst File Doc/whatsnew/3.6.rst (right): https://bugs.python.org/review/25179/diff/16513/Doc/whatsnew/3.6.rst#newcode... Doc/whatsnew/3.6.rst:95: >>> f"He said his name is {name!r}." On 2016/02/07 16:32:18, eric.smith wrote: the !r and
just have it be f"He said his name is {name}."
I think !r would tend to scare people off.
participants (1)
-
vadmium+py@gmail.com