On Thu, Apr 2, 2020 at 8:22 AM Abdur-Rahmaan Janhangeer < [email protected]> wrote:
> Thanks for the snippet, > > Was wondering if given as a package option, > we might display the module's help info. > That's what help() is for. The __repr__ is meant to help during development with some succinct representation of the object (hence why they typically have an identifier to help tell equal objects apart). Including docstrings and such is not a goal for the repr and would make it no longer succinct. -Brett
_______________________________________________ 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/ZPWKXKI5UQ3TVQVIRMCYWLHLNVU3KUX2/ Code of Conduct: http://python.org/psf/codeofconduct/
