summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-05-28 23:29:52 (GMT)
committerGitHub <noreply@github.com>2021-05-28 23:29:52 (GMT)
commit8b4312b909abff3100c1f18fb3efa5c25617fee3 (patch)
tree3a639e18c755c107d82e57f03ebb94d07c38fc15 /Modules/_ssl.c
parent1a672a5908736e44a8a25a99b3a116b085f12aa8 (diff)
downloadcpython-8b4312b909abff3100c1f18fb3efa5c25617fee3.zip
cpython-8b4312b909abff3100c1f18fb3efa5c25617fee3.tar.gz
cpython-8b4312b909abff3100c1f18fb3efa5c25617fee3.tar.bz2
bpo-44252: Correctly implement gc support for SSLError objects (GH-26439)
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 1508327..73544bb 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -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
};