Romuald Brunet <romuald.bru...@gmail.com> added the comment:
I'm not sure I follow. You wish to "simply" update the doc? (and not update the retval to allow storing it into a varible. I'm OK with that) But if we choose this, I'm not sure what needs changing in the doctests :-? Another interrogation: is the use locals() really necessary? I can see that I can simply use `__return__` to access the return object. Is there a reason to access it via locals() inside pdb? ---------- _______________________________________ 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