Home
last modified time | relevance | path

Searched refs:add_set_handler (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/email/
Dcontentmanager.py27 def add_set_handler(self, typekey, handler): member in ContentManager
192 raw_data_manager.add_set_handler(str, set_text_content)
225 raw_data_manager.add_set_handler(email.message.Message, set_message_content)
248 raw_data_manager.add_set_handler(typ, set_bytes_content)
/third_party/python/Lib/test/test_email/
Dtest_contentmanager.py82 cm.add_set_handler(key, foo_setter)
96 cm.add_set_handler(key, foo_setter)
99 cm.add_set_handler(key, bar_setter)
127 cm.add_set_handler(str, lambda *args, **kw: None)
/third_party/python/Doc/library/
Demail.contentmanager.rst80 .. method:: add_set_handler(typekey, handler)