Skip to content

Commit c753306

Browse files
authored
bpo-41672: Fix type mismatches in imaplib docs (GH-22207)
1 parent 1b0f0e3 commit c753306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/imaplib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ The following utility functions are defined:
143143

144144
.. function:: Int2AP(num)
145145

146-
Converts an integer into a string representation using characters from the set
146+
Converts an integer into a bytes representation using characters from the set
147147
[``A`` .. ``P``].
148148

149149

@@ -197,7 +197,7 @@ you want to avoid having an argument string quoted (eg: the *flags* argument to
197197

198198
Each command returns a tuple: ``(type, [data, ...])`` where *type* is usually
199199
``'OK'`` or ``'NO'``, and *data* is either the text from the command response,
200-
or mandated results from the command. Each *data* is either a string, or a
200+
or mandated results from the command. Each *data* is either a ``bytes``, or a
201201
tuple. If a tuple, then the first part is the header of the response, and the
202202
second part contains the data (ie: 'literal' value).
203203

0 commit comments

Comments
 (0)