[docs] [issue25179] PEP 498 f-strings need to be documented
Eric V. Smith
report at bugs.python.org
Sat Nov 7 17:00:50 EST 2015
Eric V. Smith added the comment:
Since f-strings are not constant strings, they cannot be used as docstrings without some modifications to the compiler.
I'm not sure it's worth evaluating a docstring f-string at compile time to make them become docstrings: I can't think of a use case where this would be worthwhile. But maybe I'm not thinking hard enough.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25179>
_______________________________________
More information about the docs
mailing list