This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SnoopJeDi
Recipients SnoopJeDi, barry, docs@python, eric.araujo, steven.daprano, terry.reedy
Date 2022-01-25.19:42:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
My thought was to add something like this to the top of functions.rst:

Note that some of the functions listed here have the :ref:`default return value <tut-defining-functions> of ``None``.

For reference, the builtins this applies to are:

* breakpoint()
* delattr()
* exec()
* help()
* print()
* setattr()

Which makes me wonder if the hint is even worth having, since it's so few of them.

Note that of these, exec() does what this ticket originally proposed for print() - i.e. it explicitly says that the function returns None.
Date User Action Args
2022-01-25 19:42:03SnoopJeDisetrecipients: + SnoopJeDi, barry, terry.reedy, eric.araujo, steven.daprano, docs@python
2022-01-25 19:42:03SnoopJeDisetmessageid: <>
2022-01-25 19:42:03SnoopJeDilinkissue46282 messages
2022-01-25 19:42:03SnoopJeDicreate