mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Use PyExc_OSError directly instead of grabbing it from the socket module API
This commit is contained in:
parent
57735a0d6a
commit
b7705b7792
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue