Commit 9b1958da authored by Stefan Behnel's avatar Stefan Behnel

remove redundant C defines around helper code (already applied where helper is used)

parent 08e05250
...@@ -579,7 +579,7 @@ PyEval_InitThreads(); ...@@ -579,7 +579,7 @@ PyEval_InitThreads();
/////////////// ModuleCreationPEP489 /////////////// /////////////// ModuleCreationPEP489 ///////////////
//@substitute: naming //@substitute: naming
#if CYTHON_PEP489_MULTI_PHASE_INIT //#if CYTHON_PEP489_MULTI_PHASE_INIT
static int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const char* from_name, const char* to_name) { static int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const char* from_name, const char* to_name) {
PyObject *value = PyObject_GetAttrString(spec, from_name); PyObject *value = PyObject_GetAttrString(spec, from_name);
int result = 0; int result = 0;
...@@ -618,7 +618,7 @@ bad: ...@@ -618,7 +618,7 @@ bad:
Py_XDECREF(module); Py_XDECREF(module);
return NULL; return NULL;
} }
#endif //#endif
/////////////// CodeObjectCache.proto /////////////// /////////////// CodeObjectCache.proto ///////////////
......
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