Home
last modified time | relevance | path

Searched refs:HeaderRegistry (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/email/
Dpolicy.py8 from email.headerregistry import HeaderRegistry as HeaderRegistry unknown
89 header_factory = HeaderRegistry()
96 object.__setattr__(self, 'header_factory', HeaderRegistry())
Dheaderregistry.py547 class HeaderRegistry: class
/external/python/cpython3/Lib/test/test_email/
Dtest_pickleable.py8 from email.headerregistry import HeaderRegistry
15 header_factory = HeaderRegistry()
Dtest_headerregistry.py18 factory = headerregistry.HeaderRegistry()
24 factory = headerregistry.HeaderRegistry()
36 factory = headerregistry.HeaderRegistry(base_class=self.FooBase)
45 factory = headerregistry.HeaderRegistry(default_class=self.FooDefault)
51 factory = headerregistry.HeaderRegistry(default_class=self.FooDefault)
57 factory = headerregistry.HeaderRegistry(use_default_map=False)
63 factory = headerregistry.HeaderRegistry()
75 factory = headerregistry.HeaderRegistry()
/external/python/cpython3/Doc/library/
Demail.headerregistry.rst27 :class:`.HeaderRegistry` and have :class:`.BaseHeader` as their last base
32 table stored in the :class:`.HeaderRegistry`. All of this is managed
37 followed by the API for modifying the behavior of :class:`.HeaderRegistry`, and
308 .. class:: HeaderRegistry(base_class=BaseHeader, \
313 ``HeaderRegistry`` builds the class used to create a header instance
338 ``HeaderRegistry`` has the following methods: