Commit 56262e29 authored by Stefan Behnel's avatar Stefan Behnel

Fix usage of deprecated Py_UNICODE API.

parent 9faf0fd7
......@@ -156,7 +156,7 @@ __Pyx_import_all_from(PyObject *locals, PyObject *v)
PyString_AS_STRING(name)[0] == '_')
#else
PyUnicode_Check(name) &&
PyUnicode_AS_UNICODE(name)[0] == '_')
__Pyx_PyUnicode_READ_CHAR(name, 0) == '_')
#endif
{
Py_DECREF(name);
......
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