Commit 12241c22 authored by Stefan Behnel's avatar Stefan Behnel

fix copy+paste bug

parent c06eadaa
...@@ -407,6 +407,6 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_Substring( ...@@ -407,6 +407,6 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_Substring(
return PyUnicode_FromKindAndData(PyUnicode_KIND(text), return PyUnicode_FromKindAndData(PyUnicode_KIND(text),
PyUnicode_1BYTE_DATA(text) + start*PyUnicode_KIND(text), stop-start); PyUnicode_1BYTE_DATA(text) + start*PyUnicode_KIND(text), stop-start);
#else #else
PyUnicode_FromUnicode(PyUnicode_AS_UNICODE(text)+start, stop-start); return PyUnicode_FromUnicode(PyUnicode_AS_UNICODE(text)+start, stop-start);
#endif #endif
} }
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