py3: base: repair compile-fail

This commit is contained in:
looooo
2017-05-19 04:27:58 +02:00
committed by wmayer
parent d4b7100bb2
commit 2f467da92a

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;