Skip to content

Commit 51adfc6

Browse files
lurchmatrixise
authored andcommitted
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
1 parent 7117074 commit 51adfc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/ftplib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ The module defines the following items:
144144
The set of all exceptions (as a tuple) that methods of :class:`FTP`
145145
instances may raise as a result of problems with the FTP connection (as
146146
opposed to programming errors made by the caller). This set includes the
147-
four exceptions listed above as well as :exc:`OSError`.
147+
four exceptions listed above as well as :exc:`OSError` and :exc:`EOFError`.
148148

149149

150150
.. seealso::

0 commit comments

Comments
 (0)