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

Method set_flags

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

Set the given flags and unset all others.

(self, flags)

Source from the content-addressed store, hash-verified

1555 return ''
1556
1557 def set_flags(self, flags):
1558 """Set the given flags and unset all others."""
1559 self._info = '2,' + ''.join(sorted(flags))
1560
1561 def add_flag(self, flag):
1562 """Set the given flag(s) without changing others."""

Callers 4

add_flagMethod · 0.95
remove_flagMethod · 0.95
_explain_toMethod · 0.45
_explain_toMethod · 0.45

Calls 2

sortedFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected