bpo-46541: remove usage of _Py_IDENTIFIER from _ssl module (GH-31599)

This commit is contained in:
Kumar Aditya 2022-03-01 21:08:21 +05:30 committed by GitHub
parent 9204bb72a2
commit e91b0a7139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 10 deletions

View file

@ -29,6 +29,11 @@ typedef struct {
PyObject *lib_codes_to_names;
/* socket type from module CAPI */
PyTypeObject *Sock_Type;
/* Interned strings */
PyObject *str_library;
PyObject *str_reason;
PyObject *str_verify_code;
PyObject *str_verify_message;
} _sslmodulestate;
static struct PyModuleDef _sslmodule_def;