]> khamidou — GitHub mirrors - imapclient.git/commitdiff
Fixed a syntax error in the id_() docstring and extended slightly
authorMenno Smits <menno@freshfoo.com>
Tue, 2 Jun 2015 12:35:03 +0000 (00:35 +1200)
committerMenno Smits <menno@freshfoo.com>
Tue, 2 Jun 2015 12:35:03 +0000 (00:35 +1200)
imapclient/imapclient.py

index d6c051d51444319f18c00c2cb58a28595bd41960..a1babcc07b27f09ee4bb07d160257b8b52dbbd53 100644 (file)
@@ -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')