Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Foo(object):
- def __init__(self, x):
- self.x = x
- # These two values are the same
- print(hash(Foo(3)))
- print(hash(Foo(4)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement