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

Method add_related

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

Source from the content-addressed store, hash-verified

1191 self.attach(part)
1192
1193 def add_related(self, *args, **kw):
1194 self._add_multipart('related', *args, _disp='inline', **kw)
1195
1196 def add_alternative(self, *args, **kw):
1197 self._add_multipart('alternative', *args, **kw)

Callers 2

Calls 1

_add_multipartMethod · 0.95

Tested by 1