From 61acf067ac7820d5e5a02c17d3d55f7f19a8e52e Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 16 Oct 2001 23:01:06 +0000 Subject: SF bug [#471111] inspect.getframeinfo() needs docs. TeX-ified its docstring. --- Doc/lib/libinspect.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/lib/libinspect.tex b/Doc/lib/libinspect.tex index 24a181a..b281321 100644 --- a/Doc/lib/libinspect.tex +++ b/Doc/lib/libinspect.tex @@ -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. -- cgit v0.12