fix lru_cache

This commit is contained in:
Luke Campagnola 2018-05-16 08:33:51 -07:00
parent 1f380c93c1
commit c390c5cd98

View File

@ -80,7 +80,7 @@ class LRUCache(object):
for i in ordered: for i in ordered:
del self._dict[i[0]] del self._dict[i[0]]
def iteritems(self, accessTime=False): def items(self, accessTime=False):
''' '''
:param bool accessTime: :param bool accessTime:
If True sorts the returned items by the internal access time. If True sorts the returned items by the internal access time.
@ -105,7 +105,7 @@ class LRUCache(object):
for i in ordered: for i in ordered:
del self._dict[i[0]] del self._dict[i[0]]
def iteritems(self, accessTime=False): def items(self, accessTime=False):
''' '''
============= ====================================================== ============= ======================================================
**Arguments** **Arguments**