code: def get(self, key, default=None):
          
          try:
              val = self[key]
          except KeyError:
              val = default
          return val
docs: Return the value for *key* if it exists, otherwise *default*.