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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/XZ7H2UXCWF27VZPLEDNVVCUD66M5GCVH/ Code of Conduct: http://python.org/psf/codeofconduct/
