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

Method get_labels

Lib/mailbox.py:1917–1919  ·  view source on GitHub ↗

Return a list of labels on the message.

(self)

Source from the content-addressed store, hash-verified

1915 Message.__init__(self, message)
1916
1917 def get_labels(self):
1918 """Return a list of labels on the message."""
1919 return self._labels[:]
1920
1921 def set_labels(self, labels):
1922 """Set the list of labels on the message."""

Callers 3

_explain_toMethod · 0.95
test_labelsMethod · 0.95
test_babyl_to_babylMethod · 0.95

Calls

no outgoing calls

Tested by 2

test_labelsMethod · 0.76
test_babyl_to_babylMethod · 0.76