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

Method add_alternative

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

Source from the content-addressed store, hash-verified

1194 self._add_multipart('related', *args, _disp='inline', **kw)
1195
1196 def add_alternative(self, *args, **kw):
1197 self._add_multipart('alternative', *args, **kw)
1198
1199 def add_attachment(self, *args, **kw):
1200 self._add_multipart('mixed', *args, _disp='attachment', **kw)

Callers 1

Calls 1

_add_multipartMethod · 0.95

Tested by

no test coverage detected