diff options
-rw-r--r-- | portato/eix/parser.pyx | 8 | ||||
-rw-r--r-- | portato/ipc.pxd | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/portato/eix/parser.pyx b/portato/eix/parser.pyx index a6bcc96..d72e052 100644 --- a/portato/eix/parser.pyx +++ b/portato/eix/parser.pyx @@ -36,10 +36,10 @@ cdef extern from "Python.h": ctypedef unsigned char UChar ctypedef long long LLong -from python_unicode cimport PyUnicode_DecodeUTF8 -from python_mem cimport PyMem_Malloc, PyMem_Free -from python_exc cimport PyErr_NoMemory -from python_string cimport PyString_FromStringAndSize +from cpython.unicode cimport PyUnicode_DecodeUTF8 +from cpython.mem cimport PyMem_Malloc, PyMem_Free +from cpython.exc cimport PyErr_NoMemory +from cpython.string cimport PyString_FromStringAndSize from portato.eix.exceptions import EndOfFileException diff --git a/portato/ipc.pxd b/portato/ipc.pxd index 5bcddd1..b15fe0c 100644 --- a/portato/ipc.pxd +++ b/portato/ipc.pxd @@ -10,9 +10,9 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -from python_string cimport * -from python_mem cimport PyMem_Malloc, PyMem_Free -from python_exc cimport PyErr_NoMemory +from cpython.string cimport * +from cpython.mem cimport PyMem_Malloc, PyMem_Free +from cpython.exc cimport PyErr_NoMemory cdef extern from "errno.h": int errno |