mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Make socket.sslerror a subclass of socket.error .
Added socket.error to the socket module's C API.
This commit is contained in:
parent
fee6f33e08
commit
06c34798df
4 changed files with 9 additions and 1 deletions
|
@ -160,6 +160,7 @@ typedef struct {
|
|||
/* C API for usage by other Python modules */
|
||||
typedef struct {
|
||||
PyTypeObject *Sock_Type;
|
||||
PyObject *error;
|
||||
} PySocketModule_APIObject;
|
||||
|
||||
/* XXX The net effect of the following appears to be to define a function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue