[docs] [issue25179] PEP 498 f-strings need to be documented

John Mark Vandenberg report at bugs.python.org
Sat Nov 7 16:37:08 EST 2015


John Mark Vandenberg added the comment:

Might be useful to add a note to PEP 257 that f-strings are not valid as docstrings .

Or should f-strings be valid docstrings and raise an error if any variables present in the f-string do not exist in the outer scope?

----------
nosy: +John.Mark.Vandenberg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25179>
_______________________________________


More information about the docs mailing list