Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d7083 commit b1c4ffcCopy full SHA for b1c4ffc
1 file changed
Modules/_ssl.c
@@ -2979,7 +2979,7 @@ static PyType_Spec PySSLSocket_spec = {
2979
.name = "_ssl._SSLSocket",
2980
.basicsize = sizeof(PySSLSocket),
2981
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_IMMUTABLETYPE |
2982
- Py_TPFLAGS_HAVE_GC),
+ Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_DISALLOW_INSTANTIATION),
2983
.slots = PySSLSocket_slots,
2984
};
2985
0 commit comments