The help function is not a built-in but an instance of a class defined in _sitebuiltins. Like other instances, it has neither __qualname__ nor __name__, but its __class__ does.
On Fri, Apr 7, 2023 at 7:46 PM Samuel Muldoon <[email protected]> wrote: > Hi, > > A lot of python's built-in functions have an attribute named __qualname__. > > However, the built-in `help` function has no __qualname__ attribute. > > In a future version of python can we have: > > help.__qualname__ = "help" > > _______________________________________________ > 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/PKBVAC4M2LGIB55XT4WJPVOFFZGXJHHP/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ 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/RJSQTN6DK5GUHTYP2CSZV7FH45IHUC6X/ Code of Conduct: http://python.org/psf/codeofconduct/
