diff --git a/Lib/pstats.py b/Lib/pstats.py index 85aa0a3cdd7..f74bd15ade1 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)