code: def update(self, e=None, **f):
          
  
          # Handle e first
          if e is not None:
              if hasattr(e, 'keys'):
                  for k in e:
                      self[k.title()] = e[k]
              else:
                  for (k, v) in e:
                      self[k.title()] = v
  
          # Now handle f
          if len(f):
              for k in f:
                  self[k.title()] = f[k]
docs: Override dict.update() to title-case keys.