Commit 51adfc6e authored by Andrew Scheller's avatar Andrew Scheller Committed by Stéphane Wirtel

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
parent 71170744
...@@ -144,7 +144,7 @@ The module defines the following items: ...@@ -144,7 +144,7 @@ The module defines the following items:
The set of all exceptions (as a tuple) that methods of :class:`FTP` 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 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 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:: .. seealso::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment