[Python-checkins] python/dist/src/Doc/lib libprofile.tex,1.39,1.40

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Wed, 14 May 2003 07:29:30 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv30575

Modified Files:
	libprofile.tex 
Log Message:
document Stats.dump_stats(), new for Python 2.3


Index: libprofile.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libprofile.tex,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** libprofile.tex	9 Oct 2001 20:54:23 -0000	1.39
--- libprofile.tex	14 May 2003 14:29:27 -0000	1.40
***************
*** 393,396 ****
--- 393,404 ----
  \end{methoddesc}
  
+ \begin{methoddesc}[Stats]{dump_stats}{filename}
+ Save the data loaded into the \class{Stats} object to a file named
+ \var{filename}.  The file is created if it does not exist, and is
+ overwritten if it already exists.  This is equivalent to the method of
+ the same name on the \class{profile.Profile} class.
+ \versionadded{2.3}
+ \end{methoddesc}
+ 
  \begin{methoddesc}[Stats]{sort_stats}{key\optional{, ...}}
  This method modifies the \class{Stats} object by sorting it according