The fact that i.__doc__ doesn't work is actually a strong argument. You would have to do dataclasses.fields(my_obj)[0].__doc__, which is already complex enough. At that point using metadata probably makes more sense.
Thank you for your response. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/XZ7H2UXCWF27VZPLEDNVVCUD66M5GCVH/ Code of Conduct: http://python.org/psf/codeofconduct/