Remove unused code

This commit is contained in:
Kovid Goyal 2025-12-12 19:39:41 +05:30
parent 3a4e506cae
commit cdc1b8e01f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: