Searched refs:add_set_handler (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/email/ |
D | contentmanager.py | 27 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/ |
D | test_contentmanager.py | 82 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/ |
D | email.contentmanager.rst | 80 .. method:: add_set_handler(typekey, handler)
|