[issue42414] unable to document fields of dataclass
Andrei Kulakov
report at bugs.python.org
Fri Jul 23 09:31:52 EDT 2021
Andrei Kulakov <andrei.avk at gmail.com> added the comment:
I haven't modified `_finddoc` in my PR because it currently doesn't show all existing dataclass fields (only those with default set) -- therefore it would make sense to consider this addition if / when complete set of dataclass fields is added to _finddoc. Also as Terry mentioned, help() may end up using inspect.getdoc() in the future.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42414>
_______________________________________
More information about the Python-bugs-list
mailing list