Remove label from the list of labels on the message.
(self, label)
| 1924 | raise TypeError('label must be a string: %s' % type(label)) |
| 1925 | |
| 1926 | def remove_label(self, label): |
| 1927 | """Remove label from the list of labels on the message.""" |
| 1928 | try: |
| 1929 | self._labels.remove(label) |
| 1930 | except ValueError: |
| 1931 | pass |
| 1932 | |
| 1933 | def get_visible(self): |
| 1934 | """Return a Message representation of visible headers.""" |