This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients docs@python, georg.brandl, llimllib, terry.reedy
Date 2010-07-09.03:59:42
SpamBayes Score 0.0011814999
Marked as misclassified No
Message-id <1278647983.96.0.662058228954.issue6678@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-07-09 03:59:44terry.reedysetrecipients: + terry.reedy, georg.brandl, llimllib, docs@python
2010-07-09 03:59:43terry.reedysetmessageid: <1278647983.96.0.662058228954.issue6678@psf.upfronthosting.co.za>
2010-07-09 03:59:42terry.reedylinkissue6678 messages
2010-07-09 03:59:42terry.reedycreate