Package netaddr :: Module core :: Class DictDotLookup
[hide private]
[frames] | no frames]

Class DictDotLookup

object --+
         |
        DictDotLookup

Creates objects that behave much like a dictionaries, but allow nested key access using object '.' (dot) lookups.

Recipe 576586: Dot-style nested lookups over dictionary based data structures - http://code.activestate.com/recipes/576586/

Instance Methods [hide private]
 
__init__(self, d)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__getitem__(self, name)
 
__iter__(self)
 
__repr__(self)
repr(x)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, d)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)