mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
socket.error inherits from IOError, it no longer needs listing in
the all_errors tuple.
This commit is contained in:
parent
73bee444ab
commit
e6c03033af
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class error_proto(Error): pass # response does not begin with [1-5]
|
|||
|
||||
# All exceptions (hopefully) that may be raised here and that aren't
|
||||
# (always) programming errors on our side
|
||||
all_errors = (Error, socket.error, IOError, EOFError)
|
||||
all_errors = (Error, IOError, EOFError)
|
||||
|
||||
|
||||
# Line terminators (we always output CRLF, but accept any of CRLF, CR, LF)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue