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 51adfc6ed2)

Co-authored-by: Andrew Scheller <github@loowis.durge.org>
This commit is contained in:
Miss Islington (bot) 2019-09-11 07:54:44 -07:00 committed by GitHub
parent 6cf0ba8a63
commit 2f2a867fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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::