(self, header)
Like :meth:`remove` but ignores errors.

        :param header: the header to be discarded.
Like :meth:`remove` but ignores errors.
Like : meth : remove but ignores errors .
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
def discard ( self , header ) : try : return self . remove ( header ) except KeyError : pass