MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __str__

Method __str__

tools/python-3.11.9-amd64/Lib/email/message.py:998–999  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

996 return super().as_string(unixfrom, maxheaderlen, policy)
997
998 def __str__(self):
999 return self.as_string(policy=self.policy.clone(utf8=True))
1000
1001 def is_attachment(self):
1002 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