From d11f1205fa3d66772ac1f136bb2f2a03de7eb888 Mon Sep 17 00:00:00 2001 From: equaeghe Date: Sun, 13 Oct 2013 17:36:21 +0200 Subject: [PATCH] Mention in xlist_folders docstring that XLIST is deprecated --- imapclient/imapclient.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/imapclient/imapclient.py b/imapclient/imapclient.py index 20a11a4..c685841 100644 --- a/imapclient/imapclient.py +++ b/imapclient/imapclient.py @@ -284,9 +284,11 @@ class IMAPClient(object): ([u'\\HasNoChildren', u'\\Starred'], '/', u'[Gmail]/Starred'), ([u'\\HasNoChildren', u'\\Trash'], '/', u'[Gmail]/Trash')] - This is a Gmail-specific IMAP extension. It is the - responsibility of the caller to either check for ``XLIST`` in - the server capabilites, or to handle the error if the server + This is a *deprecated* Gmail-specific IMAP extension (See + https://developers.google.com/gmail/imap_extensions#xlist_is_deprecated + for more information). + It is the responsibility of the caller to either check for ``XLIST`` + in the server capabilites, or to handle the error if the server doesn't support this extension. The *directory* and *pattern* arguments are as per -- 2.43.0