Package horizons :: Package util :: Package python :: Module defaultweakkeydictionary :: Class DefaultWeakKeyDictionary
[hide private]
[frames] | no frames]

Class DefaultWeakKeyDictionary

source code

    UserDict.UserDict --+    
                        |    
weakref.WeakKeyDictionary --+
                            |
                           DefaultWeakKeyDictionary

WeakKeyDictionary with specified default value.

Instance Methods [hide private]
 
__init__(self, default_function) source code
 
__getitem__(self, item) source code

Inherited from weakref.WeakKeyDictionary: __contains__, __copy__, __deepcopy__, __delitem__, __iter__, __repr__, __setitem__, copy, get, has_key, items, iteritems, iterkeyrefs, iterkeys, itervalues, keyrefs, keys, pop, popitem, setdefault, update

Inherited from weakref.WeakKeyDictionary (private): _commit_removals

Inherited from UserDict.UserDict: __cmp__, __len__, clear, values

Class Methods [hide private]

Inherited from UserDict.UserDict: fromkeys

Class Variables [hide private]

Inherited from UserDict.UserDict: __hash__

Method Details [hide private]

__init__(self, default_function)
(Constructor)

source code 
Overrides: UserDict.UserDict.__init__

__getitem__(self, item)
(Indexing operator)

source code 
Overrides: UserDict.UserDict.__getitem__