Kaydet (Commit) 48563e84 authored tarafından Guido van Rossum's avatar Guido van Rossum

Don't define has_key().

üst 2043513b
...@@ -37,8 +37,6 @@ class CanvasItem: ...@@ -37,8 +37,6 @@ class CanvasItem:
'itemconfigure', 'itemconfigure',
(self.id,)))) (self.id,))))
return self._keys return self._keys
def has_key(self, key):
return key in self.keys()
def __contains__(self, key): def __contains__(self, key):
return key in self.keys() return key in self.keys()
def addtag(self, tag, option='withtag'): def addtag(self, tag, option='withtag'):
......
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