summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorGeorge Yoshida <dynkin@gmail.com>2006-04-22 15:27:14 (GMT)
committerGeorge Yoshida <dynkin@gmail.com>2006-04-22 15:27:14 (GMT)
commit51a23fe266ed6b825b68c2561a7124d601119a87 (patch)
tree7fbed5d9dc4ad516c41428acf957101e9ad7cb8f /Doc/lib
parent449be3830599f12a5b965fe44d1c0d661bb424d8 (diff)
downloadcpython-51a23fe266ed6b825b68c2561a7124d601119a87.zip
cpython-51a23fe266ed6b825b68c2561a7124d601119a87.tar.gz
cpython-51a23fe266ed6b825b68c2561a7124d601119a87.tar.bz2
- add versionadded tag
- make arbitrary arguments come last
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libprofile.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libprofile.tex b/Doc/lib/libprofile.tex
index 9ff5ba0..8dd36d0 100644
--- a/Doc/lib/libprofile.tex
+++ b/Doc/lib/libprofile.tex
@@ -391,7 +391,7 @@ Analysis of the profiler data is done using this class from the
% (This \stmodindex use may be hard to change ;-( )
\stmodindex{pstats}
-\begin{classdesc}{Stats}{filename\optional{, \moreargs\optional{, stream=sys.stdout}}}
+\begin{classdesc}{Stats}{filename\optional{, stream=sys.stdout\optional{, \moreargs}}}
This class constructor creates an instance of a ``statistics object''
from a \var{filename} (or set of filenames). \class{Stats} objects are
manipulated by methods, in order to print useful reports. You may specify
@@ -409,6 +409,8 @@ functions will be coalesced, so that an overall view of several
processes can be considered in a single report. If additional files
need to be combined with data in an existing \class{Stats} object, the
\method{add()} method can be used.
+
+\versionchanged[The \var{stream} parameter was added]{2.5}
\end{classdesc}