]> granicus.if.org Git - python/commitdiff
Put the deprecated .ignore() method back where it was.
authorTim Peters <tim.peters@gmail.com>
Mon, 8 Oct 2001 06:28:18 +0000 (06:28 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 8 Oct 2001 06:28:18 +0000 (06:28 +0000)
Lib/pstats.py

index 85aa0a3cdd7dc1bb91fd66c105b99bfe744a0e60..f74bd15ade1f47ebd9209c14b4561db4592951e7 100644 (file)
@@ -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)