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

Method set_subdir

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

Set subdir to 'new' or 'cur'.

(self, subdir)

Source from the content-addressed store, hash-verified

1541 return self._subdir
1542
1543 def set_subdir(self, subdir):
1544 """Set subdir to 'new' or 'cur'."""
1545 if subdir == 'new' or subdir == 'cur':
1546 self._subdir = subdir
1547 else:
1548 raise ValueError("subdir must be 'new' or 'cur': %s" % subdir)
1549
1550 def get_flags(self):
1551 """Return as a string the flags that are set."""

Callers 5

get_messageMethod · 0.95
_explain_toMethod · 0.80
_explain_toMethod · 0.80
_explain_toMethod · 0.80
_explain_toMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected