[Python-checkins] Update ftplib.all_errors documentation to match code (GH-15026)

Miss Islington (bot) webhook-mailer at python.org
Wed Sep 11 10:54:48 EDT 2019


https://github.com/python/cpython/commit/2f2a867fe334df84963ddc6b0003c5e24b703856
commit: 2f2a867fe334df84963ddc6b0003c5e24b703856
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019年09月11日T07:54:44-07:00
summary:
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 <github at loowis.durge.org>
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`.
 
 
 .. seealso::


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /