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

Method set_date

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

Set delivery date of message, in seconds since the epoch.

(self, date)

Source from the content-addressed store, hash-verified

1572 return self._date
1573
1574 def set_date(self, date):
1575 """Set delivery date of message, in seconds since the epoch."""
1576 try:
1577 self._date = float(date)
1578 except ValueError:
1579 raise TypeError("can't convert to float: %s" % date) from None
1580
1581 def get_info(self):
1582 """Get the message's "info" as a string."""

Callers 3

get_messageMethod · 0.95
_explain_toMethod · 0.80
_explain_toMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected