File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 2424# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2525# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
27- from __future__ import absolute_import
27+ #cython: language_level=3
28+
29+ # imports
2830import numpy as np
29- cimport numpy as cnp
30- try :
31- from numpy .core .multiarray_tests import internal_overlap
32- except ImportError :
33- # Module has been renamed in NumPy 1.15
34- from numpy .core ._multiarray_tests import internal_overlap
31+ from numpy .core ._multiarray_tests import internal_overlap
32+ from threading import local as threading_local
3533
34+ # cimports
35+ cimport numpy as cnp
3636from libc .string cimport memcpy
3737cimport cpython .pycapsule
3838from cpython .exc cimport (PyErr_Occurred , PyErr_Clear )
3939from cpython .mem cimport (PyMem_Malloc , PyMem_Free )
4040
41- from threading import local as threading_local
4241
4342# thread-local storage
4443_tls = threading_local ()
You can’t perform that action at this time.
0 commit comments