4 ms·
Its more like (although Im not sure the exact implementation). def make_key(obj): return (obj.__class__.__module__, obj.__class__.__name__, hash(obj)) make_
by SanFranManDan 11y ago
Its more like (although Im not sure the exact implementation).
def make_key(obj):
return (obj.__class__.__module__, obj.__class__.__name__, hash(obj))
make_key(x) == make_key(y)