b.t.t._Hashable(object) : class documentation

Part of bzrlib.tests.test__simple_set View In Hierarchy

Known subclasses: bzrlib.tests.test__simple_set._BadCompare, bzrlib.tests.test__simple_set._BadSecondHash, bzrlib.tests.test__simple_set._NoImplementCompare

A simple object which has a fixed hash value.

We could have used an 'int', but it turns out that Int objects don't implement tp_richcompare...

Method __init__ Undocumented
Method __hash__ Undocumented
Method __eq__ Undocumented
def __init__(self, the_hash):
Undocumented
def __hash__(self):
Undocumented
def __eq__(self, other):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-10-16 00:36:43.