diff options
author | Georg Brandl <georg@python.org> | 2016-02-25 19:17:45 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2016-02-25 19:17:45 (GMT) |
commit | 8c16cb9f65bfc7d732bc6bd3f533856795a95690 (patch) | |
tree | ee95fd5346ec40c976a07ffce0348d56180d8251 /Doc/library/email.charset.rst | |
parent | 2305b3cde3406f3a0ee7ff8c858bce5d372c77ae (diff) | |
download | cpython-8c16cb9f65bfc7d732bc6bd3f533856795a95690.zip cpython-8c16cb9f65bfc7d732bc6bd3f533856795a95690.tar.gz cpython-8c16cb9f65bfc7d732bc6bd3f533856795a95690.tar.bz2 |
Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.
Diffstat (limited to 'Doc/library/email.charset.rst')
-rw-r--r-- | Doc/library/email.charset.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/email.charset.rst b/Doc/library/email.charset.rst index 80ef3d6..c0fab8f 100644 --- a/Doc/library/email.charset.rst +++ b/Doc/library/email.charset.rst @@ -101,9 +101,10 @@ Import this class from the :mod:`email.charset` module. returns the string ``base64`` if *body_encoding* is ``BASE64``, and returns the string ``7bit`` otherwise. + .. XXX to_splittable and from_splittable are not there anymore! - .. method to_splittable(s) + .. to_splittable(s) Convert a possibly multibyte string to a safely splittable format. *s* is the string to split. @@ -118,7 +119,7 @@ Import this class from the :mod:`email.charset` module. the Unicode replacement character ``'U+FFFD'``. - .. method from_splittable(ustr[, to_output]) + .. from_splittable(ustr[, to_output]) Convert a splittable string back into an encoded string. *ustr* is a Unicode string to "unsplit". |