Commit a283bce5 authored by Stefan Behnel's avatar Stefan Behnel

generate cleanup code for set utility code

parent 8293ea4c
...@@ -264,7 +264,13 @@ static int __Pyx_Py23SetsImport(void) { return 0; } ...@@ -264,7 +264,13 @@ static int __Pyx_Py23SetsImport(void) { return 0; }
#endif /* < Py2.4 */ #endif /* < Py2.4 */
#endif /* < Py2.5 */ #endif /* < Py2.5 */
""", """,
init = put_py23_set_init_utility_code) init = put_py23_set_init_utility_code,
cleanup = """
#if PY_VERSION_HEX < 0x02040000
Py_XDECREF(__Pyx_PySet_Type);
Py_XDECREF(__Pyx_PyFrozenSet_Type);
#endif /* < Py2.4 */
""")
builtin_utility_code = { builtin_utility_code = {
'getattr3' : getattr3_utility_code, 'getattr3' : getattr3_utility_code,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment