10000 bpo-44252: Correctly implement gc support for SSLError objects (GH-26… · python/cpython@a7aa105 · GitHub
[go: up one dir, main page]

Skip to content

Commit a7aa105

Browse files
bpo-44252: Correctly implement gc support for SSLError objects (GH-26439) (GH-26441)
(cherry picked from commit 8b4312b) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
1 parent 7261b29 commit a7aa105

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Modules/_ssl.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,7 @@ static PyType_Slot sslerror_type_slots[] = {
436436
static PyType_Spec sslerror_type_spec = {
437437
.name = "ssl.SSLError",
438438
.basicsize = sizeof(PyOSErrorObject),
439-
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE |
440-
Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_HAVE_GC),
439+
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_IMMUTABLETYPE),
441440
.slots = sslerror_type_slots
442441
};
443442

0 commit comments

Comments
 (0)
0