diff options
Diffstat (limited to 'Doc/library/poplib.rst')
-rw-r--r-- | Doc/library/poplib.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/poplib.rst b/Doc/library/poplib.rst index 45baad9..8468f4c 100644 --- a/Doc/library/poplib.rst +++ b/Doc/library/poplib.rst @@ -194,6 +194,15 @@ An :class:`POP3` instance has the following methods: the unique id for that message in the form ``'response mesgnum uid``, otherwise result is list ``(response, ['mesgnum uid', ...], octets)``. + +.. method:: POP3.utf8() + + Try to switch to UTF-8 mode. Returns the server response if successful, + raises :class:`error_proto` if not. Specified in :RFC:`6856`. + + .. versionadded:: 3.5 + + .. method:: POP3.stls(context=None) Start a TLS session on the active connection as specified in :rfc:`2595`. |