mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +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
|
@ -340,7 +340,7 @@ class POP3_SSL(POP3):
|
|||
continue
|
||||
break
|
||||
if not self.sock:
|
||||
raise socket.error, msg
|
||||
raise socket.error(msg)
|
||||
self.file = self.sock.makefile('rb')
|
||||
self.sslobj = socket.ssl(self.sock, self.keyfile, self.certfile)
|
||||
self._debugging = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue