Put the deprecated .ignore() method back where it was.

This commit is contained in:
Tim Peters 2001-10-08 06:28:18 +00:00
parent 7d01685738
commit 281084f798
1 changed files with 4 additions and 4 deletions

View File

@ -414,6 +414,10 @@ 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
@ -435,10 +439,6 @@ class TupleComp:
return direction return direction
return 0 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) # func_name is a triple (file:string, line:int, name:string)