class documentation

class ClassLookupDict: (source)

View In Hierarchy

Takes a dictionary with classes as keys. Lookups against this object will traverses the object's inheritance hierarchy in method resolution order, and returns the first matching value from the dictionary or raises a KeyError if nothing matches.

Method __getitem__ Undocumented
Method __init__ Undocumented
Method __setitem__ Undocumented
Instance Variable mapping Undocumented
def __getitem__(self, key): (source)

Undocumented

def __init__(self, mapping): (source)

Undocumented

def __setitem__(self, key, value): (source)

Undocumented

Undocumented