[Python-checkins] python/dist/src/Doc/lib libprofile.tex,1.43,1.44

mondragon at users.sourceforge.net mondragon at users.sourceforge.net
Mon Mar 22 15:13:27 EST 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12193/Doc/lib
Modified Files:
	libprofile.tex 
Log Message:
Added global runctx function to profile to fix SF Bug #716587
Index: libprofile.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libprofile.tex,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** libprofile.tex	20 Oct 2003 14:01:46 -0000	1.43
--- libprofile.tex	22 Mar 2004 20:12:54 -0000	1.44
***************
*** 276,280 ****
 code for these modules.
 
! \begin{funcdesc}{run}{string\optional{, filename\optional{, ...}}}
 
 This function takes a single argument that has can be passed to the
--- 276,280 ----
 code for these modules.
 
! \begin{funcdesc}{run}{command\optional{, filename}}
 
 This function takes a single argument that has can be passed to the
***************
*** 340,343 ****
--- 340,349 ----
 \end{funcdesc}
 
+ \begin{funcdesc}{runctx}{command, globals, locals\optional{, filename}}
+ This function is similar to \function{profile.run()}, with added
+ arguments to supply the globals and locals dictionaries for the
+ \var{command} string.
+ \end{funcdesc}
+ 
 Analysis of the profiler data is done using this class from the
 \module{pstats} module:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /