SF bug [#471111] inspect.getframeinfo() needs docs.
TeX-ified its docstring.
This commit is contained in:
parent
4990000077
commit
61acf067ac
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user