bpo-41672: Fix type mismatches in imaplib docs (GH-22207)

(cherry picked from commit c75330605d)

Co-authored-by: Norbert Cyran <cyran.norbert97@gmail.com>
This commit is contained in:
Miss Islington (bot) 2020-09-12 01:14:37 -07:00 committed by GitHub
parent 7dfcc8e079
commit 98f6e67a3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,7 +143,7 @@ The following utility functions are defined:
.. function:: Int2AP(num) .. function:: Int2AP(num)
Converts an integer into a string representation using characters from the set Converts an integer into a bytes representation using characters from the set
[``A`` .. ``P``]. [``A`` .. ``P``].
@ -197,7 +197,7 @@ you want to avoid having an argument string quoted (eg: the *flags* argument to
Each command returns a tuple: ``(type, [data, ...])`` where *type* is usually Each command returns a tuple: ``(type, [data, ...])`` where *type* is usually
``'OK'`` or ``'NO'``, and *data* is either the text from the command response, ``'OK'`` or ``'NO'``, and *data* is either the text from the command response,
or mandated results from the command. Each *data* is either a string, or a or mandated results from the command. Each *data* is either a ``bytes``, or a
tuple. If a tuple, then the first part is the header of the response, and the tuple. If a tuple, then the first part is the header of the response, and the
second part contains the data (ie: 'literal' value). second part contains the data (ie: 'literal' value).