code: def _expire_data(self):
          
          expire_time_stamp = time.time() - self.expire_time
          self.timed_data   = {d: t for d, t in self.timed_data.items()
                               if t > expire_time_stamp}
docs: Remove all expired entries.