bpo-44252: Correctly implement gc support for SSLError objects (GH-26439)

This commit is contained in:
Pablo Galindo 2021-05-29 00:29:52 +01:00 committed by GitHub
parent 1a672a5908
commit 8b4312b909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -436,8 +436,7 @@ static PyType_Slot sslerror_type_slots[] = {
static PyType_Spec sslerror_type_spec = {
.name = "ssl.SSLError",
.basicsize = sizeof(PyOSErrorObject),
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE |
Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_HAVE_GC),
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_IMMUTABLETYPE),
.slots = sslerror_type_slots
};