This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients eric.smith, gvanrossum, martin.panter, yselivanov
Date 2016-11-18.20:43:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479501831.35.0.531195928426.issue28739@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-11-18 20:43:51yselivanovsetrecipients: + yselivanov, gvanrossum, eric.smith, martin.panter
2016-11-18 20:43:51yselivanovsetmessageid: <1479501831.35.0.531195928426.issue28739@psf.upfronthosting.co.za>
2016-11-18 20:43:51yselivanovlinkissue28739 messages
2016-11-18 20:43:51yselivanovcreate