Improve dict key hashing

This commit is contained in:
DevilXD committed 2021-12-03 21:51:20 +01:00
1 parent e65d992b43
commit a310db8103
3 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ class Game:
return NotImplemented
def __hash__(self) -> int:
return self.id
return hash((self.__class__.__name__, self.id))
class BaseDrop: