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)
def make_key(obj): return (obj.__class__.__module__, obj.__class__.__name__, hash(obj))
make_key(x) == make_key(y)
No comments yet.