True if string s is not a ctext character of RFC822.
(self, s)
| 302 | self._chunks.append((s, charset)) |
| 303 | |
| 304 | def _nonctext(self, s): |
| 305 | """True if string s is not a ctext character of RFC822. |
| 306 | """ |
| 307 | return s.isspace() or s in ('(', ')', '\\') |
| 308 | |
| 309 | def encode(self, splitchars=';, \t', maxlinelen=None, linesep='\n'): |
| 310 | r"""Encode a message header into an RFC-compliant format. |