diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2019-02-23 08:19:32 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2019-02-23 08:19:32 +0100 |
commit | 9687903898a25c15cb48350f1b9d37ffc365d18c (patch) | |
tree | 6279f6db2eda797838d47868ddb9c99d5b475863 | |
parent | 91db5178860947b9e099c2dc1a5e0fac43ff8194 (diff) | |
download | cython-faster_absolute_reimports.tar.gz |
Exclude an unused helper function in Py2.faster_absolute_reimports
-rw-r--r-- | Cython/Utility/ImportExport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Cython/Utility/ImportExport.c b/Cython/Utility/ImportExport.c index 2727ab03c..4c8877925 100644 --- a/Cython/Utility/ImportExport.c +++ b/Cython/Utility/ImportExport.c @@ -56,6 +56,7 @@ bad: } #endif +#if PY_MAJOR_VERSION >= 3 static PyObject *__Pyx__ImportDottedModule_Lookup(PyObject *name) { PyObject *imported_module; #if PY_VERSION_HEX < 0x030700A1 @@ -69,6 +70,7 @@ static PyObject *__Pyx__ImportDottedModule_Lookup(PyObject *name) { #endif return imported_module; } +#endif static PyObject *__Pyx__ImportDottedModule(PyObject *name, CYTHON_UNUSED PyObject *parts_tuple) { #if PY_MAJOR_VERSION < 3 |