[issue42524] [doc] pdb access to return value

Irit Katriel report at bugs.python.org
Wed Aug 4 09:21:56 EDT 2021


Irit Katriel <iritkatriel at gmail.com> added the comment:

Yes, exactly - to update the doc so that the next person who needs it will easily find a way to do it (which was not available to you when you created this issue).

The test should assert that what the doc says, so that if someone breaks documented functionality we will immediately know.

Your point about accessing __return__ directly from the prompt is interesting - sure, if that works just document that and make sure the test fails if we make a change that breaks it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42524>
_______________________________________


More information about the Python-bugs-list mailing list