We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f6ad91 commit 3899dc6Copy full SHA for 3899dc6
include/pybind11/pybind11.h
@@ -991,6 +991,7 @@ class cpp_function : public function {
991
#if PY_VERSION_HEX >= 0x03030000
992
// Attach additional error info to the exception if supported
993
if (PyErr_Occurred()) {
994
+ // #HelpAppreciated: unit test coverage for this branch.
995
raise_from(PyExc_TypeError, msg.c_str());
996
return nullptr;
997
}
0 commit comments