Václav Brožík <pab...@gmail.com> added the comment:

Note that John Parejko is right that  the active PEP 257 clearly specifies 
attribute docstrings. Here is the excerpt:

String literals occurring immediately after a simple assignment at the top 
level of a module, class, or __init__ method are called "attribute docstrings".

They are being supported by various software like Sphinx, vim, VS Codes's 
Pylance.

----------
nosy: +pabouk

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38401>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to