diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2013-01-18 14:36:40 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2013-01-18 14:36:40 +0100 |
commit | f2889b8c78792472447a9662698b6cccf718494a (patch) | |
tree | 375a536851780c0b3ab96fd07fee8caae020bafb | |
parent | 939f8f85deb1730030bfda1fd95a2fdccbb8a713 (diff) | |
download | cython-f2889b8c78792472447a9662698b6cccf718494a.tar.gz |
work around missing relative cimport support in cythonize()
-rw-r--r-- | Cython/Includes/libc/locale.pxd | 2 | ||||
-rw-r--r-- | Cython/Includes/libc/stdio.pxd | 2 | ||||
-rw-r--r-- | Cython/Includes/libc/stdlib.pxd | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Cython/Includes/libc/locale.pxd b/Cython/Includes/libc/locale.pxd index f1f59ff6c..ffd08459e 100644 --- a/Cython/Includes/libc/locale.pxd +++ b/Cython/Includes/libc/locale.pxd @@ -1,7 +1,7 @@ # 7.11 Localization <locale.h> # deprecated cimport for backwards compatibility: -from .string cimport const_char +from libc.string cimport const_char cdef extern from "locale.h" nogil: diff --git a/Cython/Includes/libc/stdio.pxd b/Cython/Includes/libc/stdio.pxd index 93c9f8404..bc29cfc0e 100644 --- a/Cython/Includes/libc/stdio.pxd +++ b/Cython/Includes/libc/stdio.pxd @@ -2,7 +2,7 @@ # deprecated cimports for backwards compatibility: -from .string cimport const_char, const_void +from libc.string cimport const_char, const_void cdef extern from "stdio.h" nogil: diff --git a/Cython/Includes/libc/stdlib.pxd b/Cython/Includes/libc/stdlib.pxd index 7c2927b70..0e4766b5d 100644 --- a/Cython/Includes/libc/stdlib.pxd +++ b/Cython/Includes/libc/stdlib.pxd @@ -1,7 +1,7 @@ # 7.20 General utilities <stdlib.h> # deprecated cimports for backwards compatibility: -from .string cimport const_char, const_void +from libc.string cimport const_char, const_void cdef extern from "stdlib.h" nogil: |