Message109675
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. |
|
Date |
User |
Action |
Args |
2010-07-09 03:59:44 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, llimllib, docs@python |
2010-07-09 03:59:43 | terry.reedy | set | messageid: <1278647983.96.0.662058228954.issue6678@psf.upfronthosting.co.za> |
2010-07-09 03:59:42 | terry.reedy | link | issue6678 messages |
2010-07-09 03:59:42 | terry.reedy | create | |
|