Package advene :: Package util :: Class smart_list_view
[hide private]
[frames] | no frames]

Class smart_list_view

source code

object --+
         |
        smart_list_view

This callable accepts a dict and a list (supposed to contain the same elements) and return a mixt read-only view of them.

Instance Methods [hide private]
 
__init__(self, l, d)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getitem__(self, i) source code
 
__in__(self, i) source code
 
__iter__(self, i) source code
 
__len__(self) source code
 
__repr__(self)
repr(x)
source code
 
get(self, key, default=None) source code
 
iterkeys(self) source code
 
itervalues(self) source code
 
iteritems(self) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, l, d)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)