parameters: (self, header)
docstring: Like :meth:`remove` but ignores errors.
  
          :param header: the header to be discarded.
docstring_summary: Like :meth:`remove` but ignores errors.
docstring_tokens: Like : meth : remove but ignores errors .
function: def discard(self, header):
          """Like :meth:`remove` but ignores errors.
  
          :param header: the header to be discarded.
          """
          try:
              return self.remove(header)
          except KeyError:
              pass
function_tokens: def discard ( self , header ) : try : return self . remove ( header ) except KeyError : pass