Commit 4d928725 authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.29.x'

parents 64aafe56 a7a3dafc
......@@ -296,10 +296,11 @@ __Pyx_import_all_from(PyObject *locals, PyObject *v)
}
if (skip_leading_underscores &&
#if PY_MAJOR_VERSION < 3
PyString_Check(name) &&
likely(PyString_Check(name)) &&
PyString_AS_STRING(name)[0] == '_')
#else
PyUnicode_Check(name) &&
likely(PyUnicode_Check(name)) &&
likely(__Pyx_PyUnicode_GET_LENGTH(name)) &&
__Pyx_PyUnicode_READ_CHAR(name, 0) == '_')
#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