diff --git a/pythran/cxxgen.py b/pythran/cxxgen.py index 8b8bc6a02..83b9432c4 100644 --- a/pythran/cxxgen.py +++ b/pythran/cxxgen.py @@ -721,6 +721,7 @@ def __str__(self): PyObject* theModule = PyModule_Create(&moduledef); if(! theModule) return theModule; + {freethreading} PyObject * theDoc = Py_BuildValue("(ss)", "{version}", "{hash}"); @@ -731,7 +732,6 @@ def __str__(self): theDoc); {extraobjects} - {freethreading} return theModule; }} '''.format(name=self.name,