removed contains method

This commit is contained in:
Andreas Preikschat 2013-03-26 21:33:49 +01:00
parent 37b7de22a5
commit 60c1a4e9f4
1 changed files with 0 additions and 6 deletions

View File

@ -161,12 +161,6 @@ class CategoryList(object):
return category
raise KeyError(u'Category "%s" does not exist.' % key)
def __contains__(self, item):
"""
Implement the __contains__() method to make this class like a dictionary
"""
return self.has_key(item)
def __len__(self):
"""
Implement the __len__() method to make this class like a dictionary