From e180ea747f519f490d5110de6f2b14a8697a472a Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 22 Apr 2010 12:57:28 +0200 Subject: [PATCH] remove Py_UNICODE from standard imports as it is now a builtin type --- Cython/Includes/cpython/long.pxd | 1 - Cython/Includes/cpython/unicode.pxd | 2 -- 2 files changed, 3 deletions(-) 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. -- 2.26.2