Return a string representation or raise a KeyError.
(self, key, from_=False)
| 842 | return msg |
| 843 | |
| 844 | def get_string(self, key, from_=False): |
| 845 | """Return a string representation or raise a KeyError.""" |
| 846 | return email.message_from_bytes( |
| 847 | self.get_bytes(key, from_)).as_string(unixfrom=from_) |
| 848 | |
| 849 | def get_bytes(self, key, from_=False): |
| 850 | """Return a string representation or raise a KeyError.""" |