From aa3dfd5f173035a754c01144922f35f9ab7ea778 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Tue, 28 Oct 2008 12:52:43 -0300 Subject: [PATCH] unimportant fix in cleanup code for Py23 sets support --- Cython/Compiler/Builtin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ """) -- 2.26.2