Message411668
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:03 | SnoopJeDi | set | recipients:
+ SnoopJeDi, barry, terry.reedy, eric.araujo, steven.daprano, docs@python |
2022-01-25 19:42:03 | SnoopJeDi | set | messageid: <1643139723.85.0.782632797697.issue46282@roundup.psfhosted.org> |
2022-01-25 19:42:03 | SnoopJeDi | link | issue46282 messages |
2022-01-25 19:42:03 | SnoopJeDi | create | |
|