Removes old, duplicate 'has_key'

This commit is contained in:
Joao S. O. Bueno 2015-03-18 10:02:46 -03:00
parent ce4d00deb9
commit 2562efc9af
1 changed files with 0 additions and 7 deletions

View File

@ -76,13 +76,6 @@ class multi_key_dict(object):
""" Return the value at index specified as key."""
return self.items_dict[self.__dict__[str(type(key))][key]]
def has_key(self, key):
try:
self.__getitem__(key)
return True
except:
pass
def __setitem__(self, keys, value):
""" Set the value at index (or list of indexes) specified as keys.
Note, that if multiple key list is specified, either: