class_docstr: Watches numbers so that they don't overflow and wrap
  (reset to zero).
class_docstr_tok: ["Watches","numbers","so","that","they","do","n't","overflow","and","wrap","(","reset","to","zero",")","."]
docstr: In case the number of keys changed between calls (e.g. a
  disk disappears) this removes the entry from self.reminders.
docstr_tok: ["In","case","the","number","of","keys","changed","between","calls","(","e.g",".","a","disk","disappears",")","this","removes","the","entry","from","self.reminders","."]
code: def _remove_dead_reminders(self, input_dict, name):
      """In case the number of keys changed between calls (e.g. a
      disk disappears) this removes the entry from self.reminders.
      """
      old_dict = self.cache[name]
      gone_keys = set(old_dict.keys()) - set(input_dict.keys())
      for gone_key in gone_keys:
          for remkey in self.reminder_keys[name][gone_key]:
              del self.reminders[name][remkey]
          del self.reminder_keys[name][gone_key]
  
imports: from __future__ import division, print_function
  import contextlib
  import errno
  import functools
  import os
  import socket
  import stat
  import sys
  import threading
  import warnings
  from collections import defaultdict
  from collections import namedtuple
  from socket import AF_INET
  from socket import SOCK_DGRAM
  from socket import SOCK_STREAM
label_desc: Use image node_id 3 for calling the _WrapNumbers obj's underlying member method code with example usage: obj._remove_dead_reminders(input_dict, name) without return types