Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 20006b2

Browse files
committed
Marked the parameters to Stats.print_*() as optional.
This closes SF bug #438032.
1 parent df781e6 commit 20006b2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/lib/libprofile.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ \subsection{The \class{Stats} Class \label{profile-stats}}
449449
the sort key of choice.
450450
\end{methoddesc}
451451

452-
\begin{methoddesc}[Stats]{print_stats}{restriction\optional{, ...}}
452+
\begin{methoddesc}[Stats]{print_stats}{\optional{restriction, \moreargs}}
453453
This method for the \class{Stats} class prints out a report as described
454454
in the \function{profile.run()} definition.
455455

@@ -484,7 +484,7 @@ \subsection{The \class{Stats} Class \label{profile-stats}}
484484
\end{methoddesc}
485485

486486

487-
\begin{methoddesc}[Stats]{print_callers}{restrictions\optional{, ...}}
487+
\begin{methoddesc}[Stats]{print_callers}{\optional{restriction, \moreargs}}
488488
This method for the \class{Stats} class prints a list of all functions
489489
that called each function in the profiled database. The ordering is
490490
identical to that provided by \method{print_stats()}, and the definition
@@ -494,7 +494,7 @@ \subsection{The \class{Stats} Class \label{profile-stats}}
494494
is the cumulative time spent in the function at the right.
495495
\end{methoddesc}
496496

497-
\begin{methoddesc}[Stats]{print_callees}{restrictions\optional{, ...}}
497+
\begin{methoddesc}[Stats]{print_callees}{\optional{restriction, \moreargs}}
498498
This method for the \class{Stats} class prints a list of all function
499499
that were called by the indicated function. Aside from this reversal
500500
of direction of calls (re: called vs was called by), the arguments and

0 commit comments

Comments
 (0)