mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-27 01:02:34 -04:00
Remove unused code
This commit is contained in:
@@ -97,9 +97,6 @@ class RAMCache(MutableMapping[int, T]):
|
||||
with self.lock:
|
||||
return len(self.items)
|
||||
|
||||
def __hash__(self) -> int: # needed to be able to store this object in a set, used by db.Cache
|
||||
return id(self)
|
||||
|
||||
def clear(self) -> None:
|
||||
with self.lock:
|
||||
if current_thread() is not self.gui_thread:
|
||||
|
||||
Reference in New Issue
Block a user