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

Method _explain_to

tools/python-3.11.9-amd64/Lib/mailbox.py:1519–1524  ·  view source on GitHub ↗

Copy format-specific state to message insofar as possible.

(self, message)

Source from the content-addressed store, hash-verified

1517 self.__dict__[name] = message.__dict__[name]
1518
1519 def _explain_to(self, message):
1520 """Copy format-specific state to message insofar as possible."""
1521 if isinstance(message, Message):
1522 return # There's nothing format-specific to explain.
1523 else:
1524 raise TypeError('Cannot convert to specified type')
1525
1526
1527class MaildirMessage(Message):

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected