From f0ae71862f76371264b2a82ffbcb7b41ce39332e Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 22 Apr 2010 13:03:14 +0200 Subject: [PATCH] added PyUnicode_FromOrdinal() to unicode.pxd --- Cython/Includes/cpython/unicode.pxd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Includes/cpython/unicode.pxd b/Cython/Includes/cpython/unicode.pxd index debb37ef..d2436790 100644 --- a/Cython/Includes/cpython/unicode.pxd +++ b/Cython/Includes/cpython/unicode.pxd @@ -94,7 +94,7 @@ cdef extern from *: # The ordinal must be in range(0x10000) on narrow Python builds # (UCS2), and range(0x110000) on wide builds (UCS4). A ValueError # is raised in case it is not. - PyObject* PyUnicode_FromOrdinal(int ordinal) + object PyUnicode_FromOrdinal(int ordinal) # Return a read-only pointer to the Unicode object's internal # Py_UNICODE buffer, NULL if unicode is not a Unicode object. -- 2.26.2