Dictionary Hashable Python Python 3.x Using @functools.lru_cache With Dictionary Arguments February 03, 2024 Post a Comment I have a method that takes (among others) a dictionary as an argument. The method is parsing string… Read more Using @functools.lru_cache With Dictionary Arguments
Equality Hashable Python Recommended Way To Implement __eq__ And __hash__ October 17, 2023 Post a Comment The python documentation mentions that if you override __eq__ and the object is immutable, you shou… Read more Recommended Way To Implement __eq__ And __hash__