MCPcopy Index your code
hub / github.com/python/cpython / set_content

Method set_content

Lib/email/message.py:1142–1145  ·  view source on GitHub ↗
(self, *args, content_manager=None, **kw)

Source from the content-addressed store, hash-verified

1140 return content_manager.get_content(self, *args, **kw)
1141
1142 def set_content(self, *args, content_manager=None, **kw):
1143 if content_manager is None:
1144 content_manager = self.policy.content_manager
1145 content_manager.set_content(self, *args, **kw)
1146
1147 def _make_multipart(self, subtype, disallowed_subtypes, boundary):
1148 if self.get_content_maintype() == 'multipart':

Callers 4

email-simple.pyFile · 0.45
_add_multipartMethod · 0.45
set_contentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected