From 8097fb4fa4205b8d8d1f032de9d25146067ba1bc Mon Sep 17 00:00:00 2001 From: Menno Smits Date: Wed, 3 Jun 2015 00:35:03 +1200 Subject: [PATCH] Fixed a syntax error in the id_() docstring and extended slightly --- imapclient/imapclient.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/imapclient/imapclient.py b/imapclient/imapclient.py index d6c051d..a1babcc 100644 --- a/imapclient/imapclient.py +++ b/imapclient/imapclient.py @@ -193,10 +193,11 @@ class IMAPClient(object): return data[0] def id_(self, parameters=None): - """Issue an ID command. + """Issue the ID command, returning a dict of server implementation + fields. *parameters* should be specified as a dictionary of field/value pairs, - for example ```{"name": "IMAPClient", "version": "0.12"}`` + for example: ``{"name": "IMAPClient", "version": "0.12"}`` """ if not self.has_capability('ID'): raise ValueError('server does not support IMAP ID extension') -- 2.43.0