Skip to content

Commit 375db6a

Browse files
style: pre-commit fixes
1 parent 4212339 commit 375db6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/functional.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ struct type_caster<std::function<Return(Args...)>> {
161161
"inconsistent for __call__");
162162
if (callAttr) {
163163
std::cout << "__call__ exists" << std::endl;
164-
object codeAttr2 = getattr(callAttr ,"__code__");
164+
object codeAttr2 = getattr(callAttr, "__code__");
165165
// reinterpret_borrow<object>(
166166
// PyObject_GetAttrString(callAttr.ptr(), "__code__"));
167167
argCount = argCountFromFuncCode(codeAttr2)

0 commit comments

Comments
 (0)