prepare for PyCXX 7.0

This commit is contained in:
wmayer
2018-04-18 19:20:50 +02:00
parent c4aaef4033
commit 840c9e8b3c
36 changed files with 226 additions and 239 deletions
+1 -1
View File
@@ -1277,7 +1277,7 @@ private:
PyObject *pleft=Py_False;
if (!PyArg_ParseTuple(args.ptr(), "ddd|dO!", &pitch, &height, &radius, &angle,
&(PyBool_Type), &pleft)) {
throw Py::Exception("Part.makeLongHelix fails on parms");
throw Py::RuntimeError("Part.makeLongHelix fails on parms");
}
try {