UserDict
index
/usr/local/lib/python2.3/UserDict.py

A more or less complete user-defined wrapper around dictionary objects.

 
Classes
       
DictMixin
UserDict
IterableUserDict

 
class DictMixin
     Methods defined here:
__cmp__(self, other)
__contains__(self, key)
__iter__(self)
# second level definitions support higher levels
__len__(self)
__repr__(self)
clear(self)
get(self, key, default=None)
has_key(self, key)
items(self)
iteritems(self)
# third level takes advantage of second level definitions
iterkeys(self)
itervalues(self)
# fourth level uses definitions from lower levels
pop(self, key, *args)
popitem(self)
setdefault(self, key, default)
update(self, other)
values(self)

 
class IterableUserDict(UserDict)
     Methods defined here:
__iter__(self)

Methods inherited from UserDict:
__cmp__(self, dict)
__contains__(self, key)
__delitem__(self, key)
__getitem__(self, key)
__init__(self, dict=None, **kwargs)
__len__(self)
__repr__(self)
__setitem__(self, key, item)
clear(self)
copy(self)
get(self, key, failobj=None)
has_key(self, key)
items(self)
iteritems(self)
iterkeys(self)
itervalues(self)
keys(self)
pop(self, key, *args)
popitem(self)
setdefault(self, key, failobj=None)
update(self, dict)
values(self)

Class methods inherited from UserDict:
fromkeys(cls, iterable, value=None) from __builtin__.classobj

 
class UserDict
     Methods defined here:
__cmp__(self, dict)
__contains__(self, key)
__delitem__(self, key)
__getitem__(self, key)
__init__(self, dict=None, **kwargs)
__len__(self)
__repr__(self)
__setitem__(self, key, item)
clear(self)
copy(self)
get(self, key, failobj=None)
has_key(self, key)
items(self)
iteritems(self)
iterkeys(self)
itervalues(self)
keys(self)
pop(self, key, *args)
popitem(self)
setdefault(self, key, failobj=None)
update(self, dict)
values(self)

Class methods defined here:
fromkeys(cls, iterable, value=None) from __builtin__.classobj