Commit 40da72ad authored by Raymond Hettinger's avatar Raymond Hettinger

Removed deprecated method from pstats.

parent 9eaafbc4
...@@ -525,14 +525,6 @@ of direction of calls (re: called vs was called by), the arguments and ...@@ -525,14 +525,6 @@ of direction of calls (re: called vs was called by), the arguments and
ordering are identical to the \method{print_callers()} method. ordering are identical to the \method{print_callers()} method.
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}[Stats]{ignore}{}
\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}
\section{Limitations \label{profile-limits}} \section{Limitations \label{profile-limits}}
......
...@@ -416,10 +416,6 @@ class Stats: ...@@ -416,10 +416,6 @@ class Stats:
print f8(ct/cc), print f8(ct/cc),
print func_std_string(func) print func_std_string(func)
def ignore(self):
# Deprecated since 1.5.1 -- see the docs.
pass # has no return value, so use at end of line :-)
class TupleComp: class TupleComp:
"""This class provides a generic function for comparing any two tuples. """This class provides a generic function for comparing any two tuples.
Each instance records a list of tuple-indices (from most significant Each instance records a list of tuple-indices (from most significant
......
...@@ -21,6 +21,8 @@ Extension Modules ...@@ -21,6 +21,8 @@ Extension Modules
Library Library
------- -------
- the pstats module no longer uses the deprecated ignore() method.
- the filecmp module no longer uses the deprecated use_statcache argument. - the filecmp module no longer uses the deprecated use_statcache argument.
- unittest.TestCase.run() and unittest.TestSuite.run() can now be successfully - unittest.TestCase.run() and unittest.TestSuite.run() can now be successfully
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment