MCPcopy Index your code
hub / github.com/RustPython/RustPython / set_labels

Method set_labels

Lib/mailbox.py:1914–1916  ·  view source on GitHub ↗

Set the list of labels on the message.

(self, labels)

Source from the content-addressed store, hash-verified

1912 return self._labels[:]
1913
1914 def set_labels(self, labels):
1915 """Set the list of labels on the message."""
1916 self._labels = list(labels)
1917
1918 def add_label(self, label):
1919 """Add label to list of labels on the message."""

Callers 3

get_messageMethod · 0.95
test_labelsMethod · 0.95
test_labelsMethod · 0.95

Calls 1

listClass · 0.85

Tested by 2

test_labelsMethod · 0.76
test_labelsMethod · 0.76