From: Menno Smits Date: Tue, 30 Dec 2014 09:31:13 +0000 (+1300) Subject: Finish docstring from imap_utf7.decode X-Git-Tag: 0.12^2~15^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=a978bc348a566e90f896e873174be1d0e2311aa1;p=imapclient.git Finish docstring from imap_utf7.decode --- diff --git a/imapclient/imap_utf7.py b/imapclient/imap_utf7.py index b3592ad..03ef9c3 100644 --- a/imapclient/imap_utf7.py +++ b/imapclient/imap_utf7.py @@ -69,7 +69,9 @@ DASH_ORD = byte2int(b'-') def decode(s): """Decode a folder name from IMAP modified UTF-7 encoding to unicode. - XXX expand + Input is bytes (Python 3) or str (Python 2); output is always + unicode. If non-bytes/str input is provided, the input is returned + unchanged. """ if not isinstance(s, binary_type):