Skip to content

Commit

Permalink
remove __iter__ method
Browse files Browse the repository at this point in the history
  • Loading branch information
xlcnd committed Apr 8, 2015
1 parent c28d6cf commit e28e9bf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions isbnlib/dev/_shelvecache.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ def __len__(self):
"""Return the number of keys in cache."""
return len(self.keys()) if self.keys() else 0

def __iter__(self):
"""Define the default iterator."""
return iter(self._keys)

def keys(self):
"""Return list of keys in Cache."""
if self._keys:
Expand Down

0 comments on commit e28e9bf

Please sign in to comment.