Commit 52486bd0 authored by Stefan Behnel's avatar Stefan Behnel

Remove invalid GCC attribute usage when PEP-489 is enabled.

parent d902b7cf
......@@ -2297,7 +2297,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("")
# main module init code lives in Py_mod_exec function, not in PyInit function
code.putln("static int %s(PyObject *%s) CYTHON_SMALL_CODE " % (
code.putln("static int %s(PyObject *%s)" % (
self.mod_init_func_cname(Naming.pymodule_exec_func_cname, env),
Naming.pymodinit_module_arg))
code.putln("#endif") # PEP489
......
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