Remove label from the list of labels on the message.
(self, label)
| 1931 | raise TypeError('label must be a string: %s' % type(label)) |
| 1932 | |
| 1933 | def remove_label(self, label): |
| 1934 | """Remove label from the list of labels on the message.""" |
| 1935 | try: |
| 1936 | self._labels.remove(label) |
| 1937 | except ValueError: |
| 1938 | pass |
| 1939 | |
| 1940 | def get_visible(self): |
| 1941 | """Return a Message representation of visible headers.""" |