Don't define has_key().

This commit is contained in:
Guido van Rossum 2006-08-21 00:26:58 +00:00
parent 2043513bd5
commit 48563e840b

View File

@ -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'):