[issue6678] inspect.currentframe documentation omits optional depth parameter

Benjamin Peterson report at bugs.python.org
Mon Aug 9 19:57:00 CEST 2010


Benjamin Peterson <benjamin at python.org> added the comment:

2010/8/9 Terry J. Reedy <report at bugs.python.org>:
>
> Terry J. Reedy <tjreedy at udel.edu> added the comment:
>
> You ignored my question: why did you change the argument passed on to sys._getframe?

Ah, so that the caller's frame is returned and not currentframe's.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6678>
_______________________________________


More information about the Python-bugs-list mailing list