fix copy+paste bug
authorStefan Behnel <scoder@users.berlios.de>
Wed, 12 May 2010 14:57:24 +0000 (16:57 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 12 May 2010 14:57:24 +0000 (16:57 +0200)
Cython/Compiler/ExprNodes.py

index 3c49e88b4d8253ecf3b722087ff8e9c7d4375edb..8bc156b1628ee968ae02955eba2994c5f296484c 100755 (executable)
@@ -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)))) {