Kaydet (Commit) b7705b77 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Use PyExc_OSError directly instead of grabbing it from the socket module API

üst 57735a0d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment