Searched refs:PySSLContext_Type (Results 1 – 5 of 5) sorted by relevance
13 PyTypeObject *PySSLContext_Type; member
2121 if (PyObject_TypeCheck(value, self->ctx->state->PySSLContext_Type)) { in PySSL_set_context()6113 state->PySSLContext_Type = (PyTypeObject *)PyType_FromModuleAndSpec( in sslmodule_init_types()6116 if (state->PySSLContext_Type == NULL) in sslmodule_init_types()6143 if (PyModule_AddType(module, state->PySSLContext_Type)) in sslmodule_init_types()6171 Py_VISIT(state->PySSLContext_Type); in sslmodule_traverse()6196 Py_CLEAR(state->PySSLContext_Type); in sslmodule_clear()
340 static PyTypeObject PySSLContext_Type; variable350 #define PySSLContext_Check(v) (Py_TYPE(v) == &PySSLContext_Type)1644 if (PyObject_TypeCheck(value, &PySSLContext_Type)) { in PySSL_set_context()3510 static PyTypeObject PySSLContext_Type = { variable4159 if (PyType_Ready(&PySSLContext_Type) < 0) in init_ssl()4237 (PyObject *)&PySSLContext_Type) != 0) in init_ssl()
411 if ((type == get_state_type(type)->PySSLContext_Type) && in _ssl__SSLContext()
2341 Modules/_ssl.c - PySSLContext_Type -