]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
typed_subpart_iterator(): Fix these to use non-deprecated APIs,
authorBarry Warsaw <barry@python.org>
Wed, 26 Mar 2003 17:57:25 +0000 (17:57 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 26 Mar 2003 17:57:25 +0000 (17:57 +0000)
commitcd7051f698219e119558bb6ef85cdcd3e074f339
treedad5c15e84724831848b1b94fd5c347e664e7f6e
parent8af56778fd7753252861baab3fa00ac3696ddbc6
typed_subpart_iterator(): Fix these to use non-deprecated APIs,
i.e. get_content_maintype() and get_content_subtype().

Also, add True, False for Python 2.2.x where x < 2 compatibility.
Lib/email/_compat22.py