Package portage :: Package cache :: Module mappings :: Class Mapping
[hide private]

Class Mapping

source code

object --+
         |
        Mapping
Known Subclasses:


In python-3.0, the UserDict.DictMixin class has been replaced by
Mapping and MutableMapping from the collections module, but 2to3
doesn't currently account for this change:

    http://bugs.python.org/issue2876

As a workaround for the above issue, use this class as a substitute
for UserDict.DictMixin so that code converted via 2to3 will run.

Instance Methods [hide private]
 
__iter__(self) source code
 
__contains__(self, key) source code
 
iteritems(self) source code
 
iterkeys(self) source code
 
itervalues(self) source code
 
get(self, key, default=None) source code
 
__repr__(self)
repr(x)
source code
 
__len__(self) source code
 
items(self) source code
 
keys(self) source code
 
values(self) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)