code: def dict_minus(d, *keys):
      
      # make shallow copy
      d = dict(d)
      for key in keys:
          try:
              del d[key]
          except:
              pass
      return d
docs: Delete key(s) from dict if exists, returning resulting dict