Commit 61acf067 authored by Tim Peters's avatar Tim Peters

SF bug [#471111] inspect.getframeinfo() needs docs.

TeX-ified its docstring.
parent 49900000
...@@ -282,6 +282,12 @@ created, it is important to ensure they are explicitly broken to avoid ...@@ -282,6 +282,12 @@ created, it is important to ensure they are explicitly broken to avoid
the delayed destruction of objects and increased memory consumption the delayed destruction of objects and increased memory consumption
which occurs. which occurs.
\begin{funcdesc}{getframeinfo}{frame\optional{, context}}
Get information about a frame or traceback object. A 5-tuple
is returned, the last five elements of the frame's frame record.
The optional second argument specifies the number of lines of context
to return, which are centered around the current line.
\begin{funcdesc}{getouterframes}{frame\optional{, context}} \begin{funcdesc}{getouterframes}{frame\optional{, context}}
Get a list of frame records for a frame and all higher (calling) Get a list of frame records for a frame and all higher (calling)
frames. frames.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment