py3: base: repair compile-fail

This commit is contained in:
looooo
2017-05-19 04:27:58 +02:00
committed by wmayer
parent 0e9e49cbcc
commit 94c68d72c3

View File

@@ -484,7 +484,7 @@ PyObject* MatrixPy::analyze(PyObject * args)
#if PY_MAJOR_VERSION < 3
return PyString_FromString(type.c_str());
#else
return PyUniCode_FromString(type.c_str());
return PyUnicode_FromString(type.c_str());
#endif
}
PY_CATCH;