[issue6678] inspect.currentframe documentation omits optional depth parameter

Georg Brandl report at bugs.python.org
Mon Aug 9 20:48:31 CEST 2010


Georg Brandl <georg at python.org> added the comment:

Terry: due to the additional indirection by making currentframe() a separate function, _getframe(0) would return the frame in currentframe().

----------

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


More information about the Python-bugs-list mailing list