From: Lisandro Dalcin Date: Tue, 28 Oct 2008 15:52:43 +0000 (-0300) Subject: unimportant fix in cleanup code for Py23 sets support X-Git-Tag: 0.9.9.2.beta~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa3dfd5f173035a754c01144922f35f9ab7ea778;p=cython.git unimportant fix in cleanup code for Py23 sets support --- diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index c87905cc..6605e486 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -267,8 +267,8 @@ static int __Pyx_Py23SetsImport(void) { return 0; } init = put_py23_set_init_utility_code, cleanup = """ #if PY_VERSION_HEX < 0x02040000 -Py_XDECREF(__Pyx_PySet_Type); -Py_XDECREF(__Pyx_PyFrozenSet_Type); +Py_XDECREF(__Pyx_PySet_Type); __Pyx_PySet_Type = NULL; +Py_XDECREF(__Pyx_PyFrozenSet_Type); __Pyx_PyFrozenSet_Type = NULL; #endif /* < Py2.4 */ """)