From: Stefan Behnel Date: Thu, 22 Apr 2010 10:57:28 +0000 (+0200) Subject: remove Py_UNICODE from standard imports as it is now a builtin type X-Git-Tag: 0.13.beta0~163 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e180ea747f519f490d5110de6f2b14a8697a472a;p=cython.git remove Py_UNICODE from standard imports as it is now a builtin type --- diff --git a/Cython/Includes/cpython/long.pxd b/Cython/Includes/cpython/long.pxd index 31134d6d..145ce8c6 100644 --- a/Cython/Includes/cpython/long.pxd +++ b/Cython/Includes/cpython/long.pxd @@ -1,4 +1,3 @@ -from cpython.unicode cimport Py_UNICODE cdef extern from "Python.h": ctypedef long long PY_LONG_LONG diff --git a/Cython/Includes/cpython/unicode.pxd b/Cython/Includes/cpython/unicode.pxd index 2a1f14f3..053c0b3f 100644 --- a/Cython/Includes/cpython/unicode.pxd +++ b/Cython/Includes/cpython/unicode.pxd @@ -1,6 +1,4 @@ cdef extern from *: - ctypedef unsigned int Py_UNICODE - # Return true if the object o is a Unicode object or an instance # of a Unicode subtype. Changed in version 2.2: Allowed subtypes # to be accepted.