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

Method is_multipart

Lib/email/message.py:217–219  ·  view source on GitHub ↗

Return True if the message consists of multiple parts.

(self)

Source from the content-addressed store, hash-verified

215 return fp.getvalue()
216
217 def is_multipart(self):
218 """Return True if the message consists of multiple parts."""
219 return isinstance(self._payload, list)
220
221 #
222 # Unix From_ line

Callers 15

get_payloadMethod · 0.95
closeMethod · 0.80
walkFunction · 0.80
_structureFunction · 0.80
_find_bodyMethod · 0.80
iter_partsMethod · 0.80
_check_sampleMethod · 0.80
test_payloadMethod · 0.80
test_hierarchyMethod · 0.80
test_dsnMethod · 0.80

Calls

no outgoing calls