diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-05-27 19:03:38 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-05-27 19:03:38 (GMT) |
commit | ea9766897bf1d2ccf610ff9ce805acca7c4cce6f (patch) | |
tree | df17698b2efec46c390580be246b4124fce93cd6 /Lib/test/test_email/test_pickleable.py | |
parent | 393da3240a29852c0e1188c6ccd007e89426a887 (diff) | |
download | cpython-ea9766897bf1d2ccf610ff9ce805acca7c4cce6f.zip cpython-ea9766897bf1d2ccf610ff9ce805acca7c4cce6f.tar.gz cpython-ea9766897bf1d2ccf610ff9ce805acca7c4cce6f.tar.bz2 |
Make headerregistry fully part of the provisional api.
When I made the checkin of the provisional email policy, I knew that
Address and Group needed to be made accessible from somewhere. The more
I looked at it, though, the more it became clear that since this is a
provisional API anyway, there's no good reason to hide headerregistry as
a private API. It was designed to ultimately be part of the public API,
and so it should be part of the provisional API.
This patch fully documents the headerregistry API, and deletes the
abbreviated version of those docs I had added to the provisional policy
docs.
Diffstat (limited to 'Lib/test/test_email/test_pickleable.py')
-rw-r--r-- | Lib/test/test_email/test_pickleable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_email/test_pickleable.py b/Lib/test/test_email/test_pickleable.py index e4c77ca..9ebf933 100644 --- a/Lib/test/test_email/test_pickleable.py +++ b/Lib/test/test_email/test_pickleable.py @@ -4,7 +4,7 @@ import copy import pickle from email import policy from email import message_from_string -from email._headerregistry import HeaderRegistry +from email.headerregistry import HeaderRegistry from test.test_email import TestEmailBase class TestPickleCopyHeader(TestEmailBase): |