diff options
Diffstat (limited to 'cachetools/lru.py')
-rw-r--r-- | cachetools/lru.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cachetools/lru.py b/cachetools/lru.py index 33749d1..dbbe787 100644 --- a/cachetools/lru.py +++ b/cachetools/lru.py @@ -29,7 +29,7 @@ class LRUCache(Cache): try: key = next(iter(self.__order)) except StopIteration: - raise KeyError('%s is empty' % type(self).__name__) from None + raise KeyError("%s is empty" % type(self).__name__) from None else: return (key, self.pop(key)) |