Irit Katriel <iritkatr...@gmail.com> added the comment:
It actually is in the locals, and it's called __return__. So you can access it with locals()['__return__'] I'll try to see where that can be documented. ---------- nosy: +iritkatriel _______________________________________ 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