From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 11 Sep 2019 14:54:44 +0000 (-0700) Subject: Update ftplib.all_errors documentation to match code (GH-15026) X-Git-Tag: v3.8.0rc1~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f2a867fe334df84963ddc6b0003c5e24b703856;p=python Update ftplib.all_errors documentation to match code (GH-15026) The documentation doesn't mention the `EOFError` that https://github.com/python/cpython/blob/master/Lib/ftplib.pyGH-L66 includes (cherry picked from commit 51adfc6ed2c6c466dda84edc11d9b2b8ae2903e8) Co-authored-by: Andrew Scheller --- diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index e006d019b8..7423413d20 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`. .. seealso::