Irit Katriel <iritkatr...@gmail.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42524> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com