From: Stefan Behnel Date: Wed, 12 May 2010 14:57:24 +0000 (+0200) Subject: fix copy+paste bug X-Git-Tag: 0.13.beta0~89 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2bc8e238d59a7546dbbbce94ec62de2c37a77671;p=cython.git fix copy+paste bug --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 3c49e88b..8bc156b1 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -6769,7 +6769,7 @@ getitem_int_pyunicode_utility_code = UtilityCode( proto = ''' #define __Pyx_GetItemInt_Unicode(o, i, size, to_py_func) (((size) <= sizeof(Py_ssize_t)) ? \\ __Pyx_GetItemInt_Unicode_Fast(o, i) : \\ - __Pyx_GetItemInt_Generic(o, to_py_func(i))) + __Pyx_GetItemInt_Unicode_Generic(o, to_py_func(i))) static CYTHON_INLINE Py_UNICODE __Pyx_GetItemInt_Unicode_Fast(PyObject* ustring, Py_ssize_t i) { if (likely((0 <= i) & (i < PyUnicode_GET_SIZE(ustring)))) {