view ___hash__ @ 244:eee52d5a4af8 default tip

created
author 127.0.0.1
date Sun, 30 Jun 2013 11:08:33 +0200
parents a85327b7c6da
children
line wrap: on
line source

{{{#!python
if a == b:
    a.hash() == b.hash()
}}}
----
{{{#!python
class object:
    def __hash__(self):
        return id(self)
}}}