summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-10-08 06:28:18 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-10-08 06:28:18 (GMT)
commit281084f7989a34d662a1a49746bc00ddd4029372 (patch)
tree96df2c3f81bc2a0165f697841b6e394a737a35e1 /Lib
parent7d01685738078d4fb89565523145d33eca98d1ec (diff)
downloadcpython-281084f7989a34d662a1a49746bc00ddd4029372.zip
cpython-281084f7989a34d662a1a49746bc00ddd4029372.tar.gz
cpython-281084f7989a34d662a1a49746bc00ddd4029372.tar.bz2
Put the deprecated .ignore() method back where it was.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/pstats.py8
1 files 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)