summaryrefslogtreecommitdiffstats
path: root/Doc/library/imaplib.rst
diff options
context:
space:
mode:
authorNorbert Cyran <cyran.norbert97@gmail.com>2020-09-12 07:58:56 (GMT)
committerGitHub <noreply@github.com>2020-09-12 07:58:56 (GMT)
commitc75330605d4795850ec74fdc4d69aa5d92f76c00 (patch)
tree875534a9a67d76d46d3c26fb22cc3f2cb453f832 /Doc/library/imaplib.rst
parent1b0f0e3d7d03155da1cf9769a847874d559e57e3 (diff)
downloadcpython-c75330605d4795850ec74fdc4d69aa5d92f76c00.zip
cpython-c75330605d4795850ec74fdc4d69aa5d92f76c00.tar.gz
cpython-c75330605d4795850ec74fdc4d69aa5d92f76c00.tar.bz2
bpo-41672: Fix type mismatches in imaplib docs (GH-22207)
Diffstat (limited to 'Doc/library/imaplib.rst')
-rw-r--r--Doc/library/imaplib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst
index 7c5b075..02ecfd9 100644
--- a/Doc/library/imaplib.rst
+++ b/Doc/library/imaplib.rst
@@ -143,7 +143,7 @@ The following utility functions are defined:
.. 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``].
@@ -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
``'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
second part contains the data (ie: 'literal' value).