mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
SF bug [#471111] inspect.getframeinfo() needs docs.
TeX-ified its docstring.
This commit is contained in:
parent
4990000077
commit
61acf067ac
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
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}}
|
||||
Get a list of frame records for a frame and all higher (calling)
|
||||
frames.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue