Terry J. Reedy <tjre...@udel.edu> added the comment:

The doc string seems correct, so I agree. A condensed and improved version of 
the docstring (with *depth* italicized as usual) might be

inspect.currentframe(depth=0) 
  Return the frame object depth calls below the top of the stack. If there is 
none, raise ValueError.

I do not think the internal comment is correct when it is exposed like this. 
Everything in inspect is specialized.

The doc string could be similarly condensed.

----------
assignee: georg.brandl -> d...@python
keywords: +patch
nosy: +d...@python, tjreedy
versions:  -Python 2.4, Python 2.5, Python 3.0

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6678>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to