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

Method add_attachment

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

Source from the content-addressed store, hash-verified

1197 self._add_multipart('alternative', *args, **kw)
1198
1199 def add_attachment(self, *args, **kw):
1200 self._add_multipart('mixed', *args, _disp='attachment', **kw)
1201
1202 def clear(self):
1203 self._headers = []

Callers 2

mainFunction · 0.80
email-mime.pyFile · 0.80

Calls 1

_add_multipartMethod · 0.95

Tested by

no test coverage detected