[Python-checkins] CVS: python/dist/src/Doc/lib libinspect.tex,1.5,1.6
Tim Peters
tim_one@users.sourceforge.net
Tue, 16 Oct 2001 16:01:08 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv28057/python/Doc/lib
Modified Files:
libinspect.tex
Log Message:
SF bug [#471111] inspect.getframeinfo() needs docs.
TeX-ified its docstring.
Index: libinspect.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libinspect.tex,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** libinspect.tex 2001/09/22 06:10:55 1.5
--- libinspect.tex 2001/10/16 23:01:06 1.6
***************
*** 283,286 ****
--- 283,292 ----
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)