Commit 96879038 authored by Stefan Behnel's avatar Stefan Behnel

Exclude an unused helper function in Py2.

parent 91db5178
...@@ -56,6 +56,7 @@ bad: ...@@ -56,6 +56,7 @@ bad:
} }
#endif #endif
#if PY_MAJOR_VERSION >= 3
static PyObject *__Pyx__ImportDottedModule_Lookup(PyObject *name) { static PyObject *__Pyx__ImportDottedModule_Lookup(PyObject *name) {
PyObject *imported_module; PyObject *imported_module;
#if PY_VERSION_HEX < 0x030700A1 #if PY_VERSION_HEX < 0x030700A1
...@@ -69,6 +70,7 @@ static PyObject *__Pyx__ImportDottedModule_Lookup(PyObject *name) { ...@@ -69,6 +70,7 @@ static PyObject *__Pyx__ImportDottedModule_Lookup(PyObject *name) {
#endif #endif
return imported_module; return imported_module;
} }
#endif
static PyObject *__Pyx__ImportDottedModule(PyObject *name, CYTHON_UNUSED PyObject *parts_tuple) { static PyObject *__Pyx__ImportDottedModule(PyObject *name, CYTHON_UNUSED PyObject *parts_tuple) {
#if PY_MAJOR_VERSION < 3 #if PY_MAJOR_VERSION < 3
......
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