Home | Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | ExpiringDictionary
An extension to standard Python dictionary objects which implements item expiration.
Each item in ExpiringDictionary has its expiration time assigned, after which the item is removed from the mapping.
|
|||
new empty dictionary |
|
||
|
|||
|
|||
v, remove specified key and return the corresponding value |
|
||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|
del x[y]
|
x[y]
|
If key is not found, d is returned if given, otherwise KeyError is raised
|
x[i]=y
|
|
Do the expiration of dictionary items. Remove items that expired by now from the dictionary. |
Do the expiration of a dictionary item. Remove the item if it has expired by now.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun May 8 13:34:59 2011 | http://epydoc.sourceforge.net |