Skip to content

Commit 8cfe51b

Browse files
style: pre-commit fixes
1 parent 9b2f057 commit 8cfe51b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/pybind11/pybind11.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,8 @@ class cpp_function : public function {
604604
if (PyCFunction_Check(rec->sibling.ptr())) {
605605
auto *self = PyCFunction_GET_SELF(rec->sibling.ptr());
606606
if (self == nullptr) {
607-
pybind11_fail("initialize_generic: Unexpected nullptr from PyCFunction_GET_SELF");
607+
pybind11_fail(
608+
"initialize_generic: Unexpected nullptr from PyCFunction_GET_SELF");
608609
}
609610
chain = detail::function_record_ptr_from_PyObject(self);
610611
if (chain && !chain->scope.is(rec->scope)) {

0 commit comments

Comments
 (0)