mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-12 09:17:42 +00:00
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.
1.7 KiB
1.7 KiB