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 <rep...@bugs.python.org> <http://bugs.python.org/issue28739> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com