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

Method get_flags

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

Return as a string the flags that are set.

(self)

Source from the content-addressed store, hash-verified

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."""
1552 if self._info.startswith('2,'):
1553 return self._info[2:]
1554 else:
1555 return ''
1556
1557 def set_flags(self, flags):
1558 """Set the given flags and unset all others."""

Callers 3

add_flagMethod · 0.95
remove_flagMethod · 0.95
_explain_toMethod · 0.95

Calls 1

startswithMethod · 0.80

Tested by

no test coverage detected