commit | b7705b77926b37e52f0bd36fb6fd4ef6f0e52f0d | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Oct 22 23:37:51 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Oct 22 23:37:51 2011 +0200 |
tree | ba63c1369a5e3071598a33950f1f8b3a6636b410 | |
parent | 57735a0d6a139eeff76dc1de84649d498219c7ff [diff] |
Use PyExc_OSError directly instead of grabbing it from the socket module API
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 7fee74c..36ce33f 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c
@@ -2334,7 +2334,7 @@ /* Add symbols to module dict */ PySSLErrorObject = PyErr_NewException("ssl.SSLError", - PySocketModule.error, + PyExc_OSError, NULL); if (PySSLErrorObject == NULL) return NULL;