We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b2f057 commit 8cfe51bCopy full SHA for 8cfe51b
1 file changed
include/pybind11/pybind11.h
@@ -604,7 +604,8 @@ class cpp_function : public function {
604
if (PyCFunction_Check(rec->sibling.ptr())) {
605
auto *self = PyCFunction_GET_SELF(rec->sibling.ptr());
606
if (self == nullptr) {
607
- pybind11_fail("initialize_generic: Unexpected nullptr from PyCFunction_GET_SELF");
+ pybind11_fail(
608
+ "initialize_generic: Unexpected nullptr from PyCFunction_GET_SELF");
609
}
610
chain = detail::function_record_ptr_from_PyObject(self);
611
if (chain && !chain->scope.is(rec->scope)) {
0 commit comments