projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd8aea5
)
unimportant fix in cleanup code for Py23 sets support
author
Lisandro Dalcin
<dalcinl@gmail.com>
Tue, 28 Oct 2008 15:52:43 +0000
(12:52 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Tue, 28 Oct 2008 15:52:43 +0000
(12:52 -0300)
Cython/Compiler/Builtin.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Builtin.py
b/Cython/Compiler/Builtin.py
index c87905ccb161ec1f44ac689e8e7ee867693f3ca8..6605e48677f714b90563ab7bb9981ec4179aecef 100644
(file)
--- 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 */
""")