[New-bugs-announce] [issue28739] PEP 498: docstrings as f-strings
Yury Selivanov
report at bugs.python.org
Fri Nov 18 15:43:51 EST 2016
New submission from Yury Selivanov:
Can f-strings be used as docstrings?
Right now:
class Foo:
f'spam'
Foo.__doc__ is None
I couldn't find that f-strings cannot be used as docstrings in neither PEP 498 not in the 3.6 documentation, so I suppose this is a bug.
----------
components: Interpreter Core
messages: 281166
nosy: eric.smith, gvanrossum, martin.panter, yselivanov
priority: normal
severity: normal
status: open
title: PEP 498: docstrings as f-strings
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28739>
_______________________________________
More information about the New-bugs-announce
mailing list