True if string s is not a ctext character of RFC822.
(self, s)
| 311 | self._chunks.append((s, charset)) |
| 312 | |
| 313 | def _nonctext(self, s): |
| 314 | """True if string s is not a ctext character of RFC822. |
| 315 | """ |
| 316 | return s.isspace() or s in ('(', ')', '\\') |
| 317 | |
| 318 | def encode(self, splitchars=';, \t', maxlinelen=None, linesep='\n'): |
| 319 | r"""Encode a message header into an RFC-compliant format. |