Searched refs:content_manager (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Lib/test/test_email/ |
D | test_message.py | 506 self.assertEqual(m.get_content(content_manager=cm), (m, (), {})) 507 msg, args, kw = m.get_content('foo', content_manager=cm, bar=1, k=2) 513 p = policy.default.clone(content_manager=self._TestContentManager()) 524 m.set_content(content_manager=cm) 528 m.set_content('foo', content_manager=cm, bar=1, k=2) 535 p = policy.default.clone(content_manager=cm) 655 m = self.message(policy=self.policy.clone(content_manager='foo')) 658 self.assertEqual(m.get_payload(0).policy.content_manager, 'foo') 672 getattr(m, add_method)('test', content_manager=cm) 700 m = self.message(policy=self.policy.clone(content_manager=cm)) [all …]
|
D | test_contentmanager.py | 128 m.set_content('xyz', content_manager=cm) 145 content_manager=raw_data_manager)
|
D | test_policy.py | 38 'content_manager': email.policy.EmailPolicy.content_manager,
|
/external/python/cpython3/Lib/email/ |
D | message.py | 1093 def get_content(self, *args, content_manager=None, **kw): argument 1094 if content_manager is None: 1095 content_manager = self.policy.content_manager 1096 return content_manager.get_content(self, *args, **kw) 1098 def set_content(self, *args, content_manager=None, **kw): argument 1099 if content_manager is None: 1100 content_manager = self.policy.content_manager 1101 content_manager.set_content(self, *args, **kw)
|
D | policy.py | 91 content_manager = raw_data_manager variable in EmailPolicy
|
/external/python/cpython3/Doc/library/ |
D | email.message.rst | 598 .. method:: get_content(*args, content_manager=None, **kw) 601 of the *content_manager*, passing self as the message object, and passing 603 *content_manager* is not specified, use the ``content_manager`` specified 607 .. method:: set_content(*args, content_manager=None, **kw) 610 of the *content_manager*, passing self as the message object, and passing 612 *content_manager* is not specified, use the ``content_manager`` specified 646 .. method:: add_related(*args, content_manager=None, **kw) 653 raise a :exc:`TypeError`. If *content_manager* is not specified, use 654 the ``content_manager`` specified by the current :mod:`~email.policy`. 659 .. method:: add_alternative(*args, content_manager=None, **kw) [all …]
|
D | email.contentmanager.rst | 93 :attr:`~email.policy.EmailPolicy.content_manager` provided by
|
D | email.policy.rst | 428 .. attribute:: content_manager 436 additional arguments. By default ``content_manager`` is set to
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 822 :attr:`~email.policy.EmailPolicy.content_manager`. All documentation is
|