"git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "d400f60c96312f32fafcb15168bbf56970ff3d3a"
Fix #283: don't print first arg of constructor
This changes the exception error message of a bad-arguments error to suppress the constructor argument when the failure is a constructor. This changes both the "Invoked with: " output to omit the object instances, and rewrites the constructor signature to make it look like a constructor (changing the first argument to the object name, and removing the ' -> NoneType' return type.
Showing
Please register or sign in to comment