summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libprofile.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-09 04:49:56 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-09 04:49:56 (GMT)
commitf1b72ddf8278074b987934659f657d5e017d381b (patch)
tree862b4763eb6ae0bf5be3beec049bdc115187c06a /Doc/lib/libprofile.tex
parent3217be939512b4f0c5d2930ff44a51f59e1022cd (diff)
downloadcpython-f1b72ddf8278074b987934659f657d5e017d381b.zip
cpython-f1b72ddf8278074b987934659f657d5e017d381b.tar.gz
cpython-f1b72ddf8278074b987934659f657d5e017d381b.tar.bz2
Reduced description of the obsolete method Stats.ignore().
Diffstat (limited to 'Doc/lib/libprofile.tex')
-rw-r--r--Doc/lib/libprofile.tex15
1 files changed, 2 insertions, 13 deletions
diff --git a/Doc/lib/libprofile.tex b/Doc/lib/libprofile.tex
index 43d92c1..8aa5477 100644
--- a/Doc/lib/libprofile.tex
+++ b/Doc/lib/libprofile.tex
@@ -495,23 +495,12 @@ ordering are identical to the \method{print_callers()} method.
\end{methoddesc}
\begin{methoddesc}{ignore}{}
-This method of the \class{Stats} class is used to dispose of the value
-returned by earlier methods. All standard methods in this class
-return the instance that is being processed, so that the commands can
-be strung together. For example:
-
-\begin{verbatim}
-pstats.Stats('foofile').strip_dirs().sort_stats('cum') \
- .print_stats().ignore()
-\end{verbatim}
-
-would perform all the indicated functions, but it would not return
-the final reference to the \class{Stats} instance.%
+\deprecated{1.5.1}{This is not needed in modern versions of Python.%
\footnote{
This was once necessary, when Python would print any unused expression
result that was not \code{None}. The method is still defined for
backward compatibility.
-}
+}}
\end{methoddesc}