Yury Selivanov added the comment:

> IMO it would be simpler do disallow all f-strings as docstrings.

How exactly you want to disallow them?  Raise SyntaxError?  If you don't raise 
anything, then the behaviour is just confusing -- the interpreter parses them, 
but __doc__ is None.

I think this needs to be fixed.  Eric, can we still fix this in 3.6?  If not, 
then we need to update the PEP and the docs.

----------

_______________________________________
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

Reply via email to