Commit 08e05250 authored by Stefan Behnel's avatar Stefan Behnel

fix utility code formatting

parent 442568e5
......@@ -2123,8 +2123,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("return PyModuleDef_Init(&%s);" % Naming.pymoduledef_cname)
code.putln("}")
mod_create_func = UtilityCode.load_cached("ModuleCreationPEP489", "ModuleSetupCode.c")
code.put(mod_create_func.impl.strip())
mod_create_func = UtilityCode.load_as_string("ModuleCreationPEP489", "ModuleSetupCode.c")[1]
code.put(mod_create_func)
code.putln("")
# main module init code lives in Py_mod_exec function, not in PyInit function
......
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