mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Raise statement normalization in Lib/.
This commit is contained in:
parent
8b3febef2f
commit
ce36ad8a46
80 changed files with 502 additions and 530 deletions
|
@ -313,7 +313,7 @@ class dispatcher:
|
|||
self.connected = True
|
||||
self.handle_connect()
|
||||
else:
|
||||
raise socket.error, (err, errorcode[err])
|
||||
raise socket.error(err, errorcode[err])
|
||||
|
||||
def accept(self):
|
||||
# XXX can return either an address pair or None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue