Skip to content
Snippets Groups Projects
Commit 5f8a54d033d6 authored by Stefan Behnel's avatar Stefan Behnel
Browse files

Fix usage of deprecated Py_UNICODE API.

parent e794cb14087c
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@
PyString_AS_STRING(name)[0] == '_')
#else
PyUnicode_Check(name) &&
PyUnicode_AS_UNICODE(name)[0] == '_')
__Pyx_PyUnicode_READ_CHAR(name, 0) == '_')
#endif
{
Py_DECREF(name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment