Return a string representation or raise a KeyError.
(self, key, from_=False)
| 849 | return msg |
| 850 | |
| 851 | def get_string(self, key, from_=False): |
| 852 | """Return a string representation or raise a KeyError.""" |
| 853 | return email.message_from_bytes( |
| 854 | self.get_bytes(key, from_)).as_string(unixfrom=from_) |
| 855 | |
| 856 | def get_bytes(self, key, from_=False): |
| 857 | """Return a string representation or raise a KeyError.""" |