Commit 762b3151 authored by Stefan Behnel's avatar Stefan Behnel

prevent relative import attempts for 'struct' module in memoryview code

parent 702f1f4d
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
# This utility provides cython.array and cython.view.memoryview # This utility provides cython.array and cython.view.memoryview
import cython from __future__ import absolute_import
cimport cython
# from cpython cimport ... # from cpython cimport ...
cdef extern from "Python.h": cdef extern from "Python.h":
......
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