diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-22 23:37:51 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-22 23:37:51 +0200 |
commit | 7f55d087ed4bc441f372bfd63f2007687a6b3d9d (patch) | |
tree | 4da749cdf29d26b26dab059a4e836747e9bae868 /Modules/_ssl.c | |
parent | 3f7cdc47ddc44a78276a5b7ac5c8e855fb944b0b (diff) | |
download | cpython-7f55d087ed4bc441f372bfd63f2007687a6b3d9d.tar.gz |
Use PyExc_OSError directly instead of grabbing it from the socket module API
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 7fee74cd53..36ce33fc53 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -2334,7 +2334,7 @@ PyInit__ssl(void) /* Add symbols to module dict */ PySSLErrorObject = PyErr_NewException("ssl.SSLError", - PySocketModule.error, + PyExc_OSError, NULL); if (PySSLErrorObject == NULL) return NULL; |