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

Method __str__

Lib/email/message.py:168–171  ·  view source on GitHub ↗

Return the entire formatted message as a string.

(self)

Source from the content-addressed store, hash-verified

166 self._default_type = 'text/plain'
167
168 def __str__(self):
169 """Return the entire formatted message as a string.
170 """
171 return self.as_string()
172
173 def as_string(self, unixfrom=False, maxheaderlen=0, policy=None):
174 """Return the entire formatted message as a string.

Callers

nothing calls this directly

Calls 1

as_stringMethod · 0.95

Tested by

no test coverage detected