Commit bffa73e5 authored by Zachary Ware's avatar Zachary Ware

Issue #25972, #20440: Fix compilation on Windows

parent eae30790
......@@ -5150,7 +5150,7 @@ comerror_init(PyObject *self, PyObject *args, PyObject *kwds)
return -1;
Py_INCREF(args);
Py_SETREF((PyBaseExceptionObject *)self->args, args);
Py_SETREF(((PyBaseExceptionObject *)self)->args, args);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment