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

Method set_content

Lib/email/message.py:1214–1217  ·  view source on GitHub ↗
(self, *args, **kw)

Source from the content-addressed store, hash-verified

1212class EmailMessage(MIMEPart):
1213
1214 def set_content(self, *args, **kw):
1215 super().set_content(*args, **kw)
1216 if 'MIME-Version' not in self:
1217 self['MIME-Version'] = '1.0'

Calls 2

superClass · 0.85
set_contentMethod · 0.45