diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-02 21:22:39 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-02 21:22:39 (GMT) |
commit | 20006b2d51c21e7bcff96b8a8014037c10665d07 (patch) | |
tree | c8ce2d7002b4b52073948c7b32175355667d430b /Doc | |
parent | df781e6a3f05f84015ffc1f354a95c29dcababe2 (diff) | |
download | cpython-20006b2d51c21e7bcff96b8a8014037c10665d07.zip cpython-20006b2d51c21e7bcff96b8a8014037c10665d07.tar.gz cpython-20006b2d51c21e7bcff96b8a8014037c10665d07.tar.bz2 |
Marked the parameters to Stats.print_*() as optional.
This closes SF bug #438032.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libprofile.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libprofile.tex b/Doc/lib/libprofile.tex index 2e88c25..88eedf0 100644 --- a/Doc/lib/libprofile.tex +++ b/Doc/lib/libprofile.tex @@ -449,7 +449,7 @@ now that ascending vs descending order is properly selected based on the sort key of choice. \end{methoddesc} -\begin{methoddesc}[Stats]{print_stats}{restriction\optional{, ...}} +\begin{methoddesc}[Stats]{print_stats}{\optional{restriction, \moreargs}} This method for the \class{Stats} class prints out a report as described in the \function{profile.run()} definition. @@ -484,7 +484,7 @@ and then proceed to only print the first 10\% of them. \end{methoddesc} -\begin{methoddesc}[Stats]{print_callers}{restrictions\optional{, ...}} +\begin{methoddesc}[Stats]{print_callers}{\optional{restriction, \moreargs}} This method for the \class{Stats} class prints a list of all functions that called each function in the profiled database. The ordering is identical to that provided by \method{print_stats()}, and the definition @@ -494,7 +494,7 @@ times this specific call was made. A second non-parenthesized number is the cumulative time spent in the function at the right. \end{methoddesc} -\begin{methoddesc}[Stats]{print_callees}{restrictions\optional{, ...}} +\begin{methoddesc}[Stats]{print_callees}{\optional{restriction, \moreargs}} This method for the \class{Stats} class prints a list of all function that were called by the indicated function. Aside from this reversal of direction of calls (re: called vs was called by), the arguments and |