Message398855
I just noticed your PR. Would you like to continue working on this?
I think we should update the documentation of retval (in the doc and in the function's doctring) to say:
"""
retval
Print the return value for the last return of a function. Alternatively, the return value can be accessed with ``locals()['__return__']``.
"""
Then add unit tests and examples as you did. |
|
Date |
User |
Action |
Args |
2021-08-03 22:57:37 | iritkatriel | set | recipients:
+ iritkatriel, Romuald |
2021-08-03 22:57:37 | iritkatriel | set | messageid: <1628031457.62.0.801044759118.issue42524@roundup.psfhosted.org> |
2021-08-03 22:57:37 | iritkatriel | link | issue42524 messages |
2021-08-03 22:57:37 | iritkatriel | create | |
|