bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282)
diff --git a/Doc/library/email.header.rst b/Doc/library/email.header.rst
index e093f13..07152c2 100644
--- a/Doc/library/email.header.rst
+++ b/Doc/library/email.header.rst
@@ -116,7 +116,7 @@
if *s* is a byte string.
- .. method:: encode(splitchars=';, \t', maxlinelen=None, linesep='\n')
+ .. method:: encode(splitchars=';, \\t', maxlinelen=None, linesep='\\n')
Encode a message header into an RFC-compliant format, possibly wrapping
long lines and encapsulating non-ASCII parts in base64 or quoted-printable