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

Method __str__

Lib/email/message.py:1014–1015  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1012 return super().as_string(unixfrom, maxheaderlen, policy)
1013
1014 def __str__(self):
1015 return self.as_string(policy=self.policy.clone(utf8=True))
1016
1017 def is_attachment(self):
1018 c_d = self.get('content-disposition')

Callers

nothing calls this directly

Calls 2

as_stringMethod · 0.95
cloneMethod · 0.45

Tested by

no test coverage detected