From 281084f7989a34d662a1a49746bc00ddd4029372 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Mon, 8 Oct 2001 06:28:18 +0000 Subject: Put the deprecated .ignore() method back where it was. --- Lib/pstats.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/pstats.py b/Lib/pstats.py index 85aa0a3..f74bd15 100644 --- a/Lib/pstats.py +++ b/Lib/pstats.py @@ -414,6 +414,10 @@ class Stats: print f8(ct/cc), 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: """This class provides a generic function for comparing any two tuples. Each instance records a list of tuple-indices (from most significant @@ -435,10 +439,6 @@ class TupleComp: return direction return 0 - def ignore(self): - # Deprecated since 1.5.1 -- see the docs. - pass # has no return value, so use at end of line :-) - #************************************************************************** # func_name is a triple (file:string, line:int, name:string) -- cgit v0.12