From a978bc348a566e90f896e873174be1d0e2311aa1 Mon Sep 17 00:00:00 2001 From: Menno Smits Date: Tue, 30 Dec 2014 22:31:13 +1300 Subject: [PATCH] Finish docstring from imap_utf7.decode --- imapclient/imap_utf7.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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): -- 2.43.0