mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
Issue #16717: get rid of socket.error, replace with OSError
This commit is contained in:
parent
ad28c7f9da
commit
0832af6628
39 changed files with 169 additions and 167 deletions
|
|
@ -393,7 +393,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
|
|||
try:
|
||||
self.rpcclt = MyRPCClient(addr)
|
||||
break
|
||||
except socket.error as err:
|
||||
except OSError as err:
|
||||
pass
|
||||
else:
|
||||
self.display_port_binding_error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue