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.
In [7]: help.__class__.__qualname__
Out[7]: '_Helper'
_______________________________________________On Fri, Apr 7, 2023 at 7:46 PM Samuel Muldoon <muldoonsamuel@gmail.com> 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 -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@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/PKBVAC4M2LGIB55XT4WJPVOFFZGXJHHP/
Code of Conduct: http://python.org/psf/codeofconduct/
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@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/RJSQTN6DK5GUHTYP2CSZV7FH45IHUC6X/
Code of Conduct: http://python.org/psf/codeofconduct/