Commit b6fcad18 authored by Stefan Behnel's avatar Stefan Behnel

fix typo

parent 0b761da7
......@@ -8457,7 +8457,7 @@ static CYTHON_INLINE Py_UCS4 __Pyx_GetItemInt_Unicode_Generic(PyObject* ustring,
#ifdef PyUnicode_GET_LENGTH
uchar = PyUnicode_READ_CHAR(uchar_string, 0);
#else
uchar = (Py_UCS4)PyUnicode_AS_UNICODE(ustring, 0);
uchar = (Py_UCS4)PyUnicode_AS_UNICODE(ustring)[0];
#endif
Py_DECREF(uchar_string);
return uchar;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment