Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix backport
  • Loading branch information
picnixz committed Feb 21, 2026
commit 264850781e5e14a5623696bf6648357f7f2cb3b3
9 changes: 1 addition & 8 deletions Modules/_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2341,14 +2341,6 @@ PySSL_traverse(PyObject *op, visitproc visit, void *arg)
return 0;
}

static int
PySSL_clear(PyObject *op)
{
PySSLSocket *self = PySSLSocket_CAST(op);
Py_CLEAR(self->exc);
return 0;
}

static int
PySSL_clear(PyObject *op)
{
Expand All @@ -2357,6 +2349,7 @@ PySSL_clear(PyObject *op)
Py_CLEAR(self->ctx);
Py_CLEAR(self->owner);
Py_CLEAR(self->server_hostname);
Py_CLEAR(self->exc);
return 0;
}

Expand Down
Loading