class_docstr: This cache prunes out cache entries that are too old.
      
class_docstr_tok: ["This","cache","prunes","out","cache","entries","that","are","too","old","."]
code: def __init__(self, maxentries=128, maxseconds=10.0):
      super(AgingCache, self).__init__(maxentries)
      self.maxseconds = maxseconds
  
imports: from time import time
label_desc: Use image node_id 1 to create a new AgingCache object from inherited base classes: BasicCache with example: obj = AgingCache(maxentries, maxseconds)