[issue28739] PEP 498: docstrings as f-strings

Raymond Hettinger report at bugs.python.org
Sat Nov 26 01:10:03 EST 2016


Raymond Hettinger added the comment:

[TJR]
> I think this issue should either be closed as 'not a bug' 
> or redefined as a doc issue.

I concur.  

FWIW, here are some comparisons.  
Not allowed:

   'Not counted as' + ' a docstring'
   'Not a docstring ' * 10
   b'Also not a docstring'

Allowed:

   'This is a ' 'docstring'
   r'This is a docstring'

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28739>
_______________________________________


More information about the Python-bugs-list mailing list