Package hm :: Package app :: Package lib :: Module patterns :: Class ChainMap
[hide private]
[frames] | no frames]

Class ChainMap

source code


Combine multiple mappings for sequential lookup. Raymond Hettinger, http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/305268

Instance Methods [hide private]
 
__init__(self, *maps)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get(self, key, default) source code
 
__getitem__(self, key) source code
 
items(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *maps)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)