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

Method set_info

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

Set the message's "info" string.

(self, info)

Source from the content-addressed store, hash-verified

1583 return self._info
1584
1585 def set_info(self, info):
1586 """Set the message's "info" string."""
1587 if isinstance(info, str):
1588 self._info = info
1589 else:
1590 raise TypeError('info must be a string: %s' % type(info))
1591
1592 def _explain_to(self, message):
1593 """Copy Maildir-specific state to message insofar as possible."""

Callers 1

get_messageMethod · 0.95

Calls 1

typeClass · 0.50

Tested by

no test coverage detected