Kaydet (Commit) 281084f7 authored tarafından Tim Peters's avatar Tim Peters

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

üst 7d016857
...@@ -414,6 +414,10 @@ class Stats: ...@@ -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: ...@@ -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)
......
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