code: def _pop(self, key, default=None):
          
          value = default
          if key in self:
              value = self[key]
              del self[key]
          return value
docs: Subclasses may override this method.