mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini.
This commit is contained in:
parent
2dcd7a0d52
commit
55bd1efb2a
1 changed files with 2 additions and 2 deletions
|
@ -2136,6 +2136,6 @@ _PyExc_Init(void)
|
|||
void
|
||||
_PyExc_Fini(void)
|
||||
{
|
||||
Py_XDECREF(PyExc_MemoryErrorInst);
|
||||
PyExc_MemoryErrorInst = NULL;
|
||||
Py_CLEAR(PyExc_MemoryErrorInst);
|
||||
Py_CLEAR(PyExc_RecursionErrorInst);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue