summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAndrew Scheller <github@loowis.durge.org>2019-09-11 14:18:00 (GMT)
committerStéphane Wirtel <stephane@wirtel.be>2019-09-11 14:18:00 (GMT)
commit51adfc6ed2c6c466dda84edc11d9b2b8ae2903e8 (patch)
tree2b4fcdebfcb0b9ab0ae24fce9646a6efe2c7d4a3 /Doc/library
parent7117074410118086938044c7a4ef6846ec1662b2 (diff)
downloadcpython-51adfc6ed2c6c466dda84edc11d9b2b8ae2903e8.zip
cpython-51adfc6ed2c6c466dda84edc11d9b2b8ae2903e8.tar.gz
cpython-51adfc6ed2c6c466dda84edc11d9b2b8ae2903e8.tar.bz2
Update ftplib.all_errors documentation to match code (#15026)
The documentation doesn't mention the `EOFError` that https://github.com/python/cpython/blob/master/Lib/ftplib.py#L66 includes
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/ftplib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index e006d01..7423413 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::