| |
- BaseIter
-
- WeakKeyedItemIterator
- WeakKeyedKeyIterator
- WeakValuedItemIterator
- WeakValuedValueIterator
- UserDict
-
- WeakKeyDictionary
- WeakValueDictionary
class BaseIter |
|
|
|
Methods defined here:
- __iter__(self)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'weakref'
|
class WeakKeyDictionary(UserDict) |
|
Mapping class that references keys weakly.
Entries in the dictionary will be discarded when there is no
longer a strong reference to the key. This can be used to
associate additional data with an object owned by other parts of
an application without adding attributes to those objects. This
can be especially useful with objects that override attribute
accesses. |
|
Methods defined here:
- __delitem__(self, key)
- __getitem__(self, key)
- __init__(self, dict=None)
- __iter__ = iterkeys(self)
- __repr__(self)
- __setitem__(self, key, value)
- copy(self)
- get(self, key, default=None)
- has_key(self, key)
- items(self)
- iteritems(self)
- iterkeys(self)
- itervalues(self)
- keys(self)
- popitem(self)
- setdefault(self, key, default)
- update(self, dict)
Data and non-method functions defined here:
- __doc__ = ' Mapping class that references keys weakly.\n\n ...bjects that override attribute\n accesses.\n '
- __module__ = 'weakref'
Methods inherited from UserDict:
- __cmp__(self, dict)
- __contains__(self, key)
- __len__(self)
- clear(self)
- values(self)
|
class WeakValueDictionary(UserDict) |
|
Mapping class that references values weakly.
Entries in the dictionary will be discarded when no strong
reference to the value exists anymore |
|
Methods defined here:
- _WeakValueDictionary__makeremove = __makeremove(self, key)
- __getitem__(self, key)
- __iter__ = iterkeys(self)
- __repr__(self)
- __setitem__(self, key, value)
- copy(self)
- get(self, key, default=None)
- items(self)
- iteritems(self)
- iterkeys(self)
- itervalues(self)
- popitem(self)
- setdefault(self, key, default)
- update(self, dict)
- values(self)
Data and non-method functions defined here:
- __doc__ = 'Mapping class that references values weakly.\n\n ...ng\n reference to the value exists anymore\n '
- __module__ = 'weakref'
Methods inherited from UserDict:
- __cmp__(self, dict)
- __contains__(self, key)
- __delitem__(self, key)
- __init__(self, dict=None)
- __len__(self)
- clear(self)
- has_key(self, key)
- keys(self)
|
|