0001285: update doc

This commit is contained in:
wmayer 2013-10-23 17:22:07 +02:00
parent 8b054f3f18
commit f5e12c74ac

View File

@ -106,7 +106,13 @@ int RotationPy::PyInit(PyObject* args, PyObject* /*kwd*/)
return 0;
}
PyErr_SetString(PyExc_Exception, "empty parameter list, four floats or Vector and float");
PyErr_SetString(PyExc_TypeError, "Rotation constructor accepts:\n"
"-- empty parameter list\n"
"-- Rotation object"
"-- four floats (a quaternion)\n"
"-- three floats (yaw, pitch, roll)"
"-- Vector (rotation axis) and float (rotation angle)\n"
"-- two Vectors (two axes)");
return -1;
}