]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
make_header(): New function to take the output of decode_header() and
authorBarry Warsaw <barry@python.org>
Tue, 9 Jul 2002 16:33:47 +0000 (16:33 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 9 Jul 2002 16:33:47 +0000 (16:33 +0000)
commit8da39aa56a9cfbec9cb29154f0bfaea237e07d20
treea872419e4dd1b28fe04a7d1ca0a6147a966b83a0
parent6b17abf6c0ddaed423a76e665124a80afbc39fe7
make_header(): New function to take the output of decode_header() and
create a Header instance.  Closes feature request #539481.

Header.__init__(): Allow the initial string to be omitted.

__eq__(), __ne__(): Support rich comparisons for equality of Header
instances withy Header instances or strings.

Also, update a bunch of docstrings.
Lib/email/Header.py