Commits

Fred Drake committed fbe0ded

Marked the parameters to Stats.print_*() as optional.

This closes SF bug #438032.

  • Participants
  • Parent commits 811842d
  • Branches 2.1

Comments (0)

Files changed (1)

Doc/lib/libprofile.tex

 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.
 
 \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
 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