MCPcopy Index your code
hub / github.com/python/cpython / get_flags

Method get_flags

Lib/mailbox.py:1743–1745  ·  view source on GitHub ↗

Return as a string the flags that are set.

(self)

Source from the content-addressed store, hash-verified

1741 self._from = from_
1742
1743 def get_flags(self):
1744 """Return as a string the flags that are set."""
1745 return self.get('Status', '') + self.get('X-Status', '')
1746
1747 def set_flags(self, flags):
1748 """Set the given flags and unset all others."""

Callers 3

add_flagMethod · 0.95
remove_flagMethod · 0.95
_explain_toMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected