summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-08-21 00:26:58 (GMT)
committerGuido van Rossum <guido@python.org>2006-08-21 00:26:58 (GMT)
commit48563e840b3473977f982c896d9eb7c4a74e4bff (patch)
tree0b4a25a3029be7fcc4c7b0adf21cfce51cc0eeb5
parent2043513bd584a08cc7d748562bd8011b989b3659 (diff)
downloadcpython-48563e840b3473977f982c896d9eb7c4a74e4bff.zip
cpython-48563e840b3473977f982c896d9eb7c4a74e4bff.tar.gz
cpython-48563e840b3473977f982c896d9eb7c4a74e4bff.tar.bz2
Don't define has_key().
-rw-r--r--Lib/lib-tk/Canvas.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/lib-tk/Canvas.py b/Lib/lib-tk/Canvas.py
index 83d7bba..89929e7 100644
--- a/Lib/lib-tk/Canvas.py
+++ b/Lib/lib-tk/Canvas.py
@@ -37,8 +37,6 @@ class CanvasItem:
'itemconfigure',
(self.id,))))
return self._keys
- def has_key(self, key):
- return key in self.keys()
def __contains__(self, key):
return key in self.keys()
def addtag(self, tag, option='withtag'):