We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f2a026 commit 85098bcCopy full SHA for 85098bc
Objects/exceptions.c
@@ -572,7 +572,7 @@ PyException_GetArgs(PyObject *self)
572
{
573
PyObject *args;
574
Py_BEGIN_CRITICAL_SECTION(self);
575
- args = Py_XNewRef(_PyBaseExceptionObject_cast(self)->args);
+ args = Py_NewRef(_PyBaseExceptionObject_cast(self)->args);
576
Py_END_CRITICAL_SECTION();
577
return args;
578
}
0 commit comments