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 iritkatriel
Recipients Romuald, iritkatriel
Date 2021-08-03.22:57:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628031457.62.0.801044759118.issue42524@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-08-03 22:57:37iritkatrielsetrecipients: + iritkatriel, Romuald
2021-08-03 22:57:37iritkatrielsetmessageid: <1628031457.62.0.801044759118.issue42524@roundup.psfhosted.org>
2021-08-03 22:57:37iritkatriellinkissue42524 messages
2021-08-03 22:57:37iritkatrielcreate