diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-06-12 18:56:57 +0000 |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-06-12 18:56:57 +0000 |
commit | 55bd1efb2ae7b559ac6a89a6f24bb62560eeafcf (patch) | |
tree | 7e1b249b29f55142d1c8b24ac218a43a1ecb4280 /Objects/exceptions.c | |
parent | 2dcd7a0d5287d39e6ab5f6782a0fa1d968a4a78c (diff) | |
download | cpython-git-55bd1efb2ae7b559ac6a89a6f24bb62560eeafcf.tar.gz |
Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini.
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r-- | Objects/exceptions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 2f2a330f92..f874dcbac0 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -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); } |