[Python-checkins] (no subject)

Stéphane Wirtel webhook-mailer at python.org
Wed Sep 11 10:18:04 EDT 2019




To: python-checkins at python.org
Subject: Update ftplib.all_errors documentation to match code (#15026)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

https://github.com/python/cpython/commit/51adfc6ed2c6c466dda84edc11d9b2b8ae29=
03e8
commit: 51adfc6ed2c6c466dda84edc11d9b2b8ae2903e8
branch: master
author: Andrew Scheller <github at loowis.durge.org>
committer: St=C3=A9phane Wirtel <stephane at wirtel.be>
date: 2019-09-11T16:18:00+02:00
summary:

Update ftplib.all_errors documentation to match code (#15026)

The documentation doesn't mention the `EOFError` that https://github.com/pyth=
on/cpython/blob/master/Lib/ftplib.py#L66 includes

files:
M Doc/library/ftplib.rst

diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index e006d019b837..7423413d209a 100644
--- a/Doc/library/ftplib.rst
+++ b/Doc/library/ftplib.rst
@@ -144,7 +144,7 @@ The module defines the following items:
    The set of all exceptions (as a tuple) that methods of :class:`FTP`
    instances may raise as a result of problems with the FTP connection (as
    opposed to programming errors made by the caller).  This set includes the
-   four exceptions listed above as well as :exc:`OSError`.
+   four exceptions listed above as well as :exc:`OSError` and :exc:`EOFError=
`.
=20
=20
 .. seealso::



More information about the Python-checkins mailing list