Skip to content

Commit

Permalink
PEP 7 nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou committed Mar 19, 2024
1 parent 0351162 commit 3f738c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/_testcapimodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -3115,8 +3115,9 @@ function_set_closure(PyObject *self, PyObject *args)
return NULL;
}
int result = PyFunction_SetClosure(func, closure);
if (result == -1)
if (result == -1) {
return NULL;
}
Py_RETURN_NONE;
}

Expand Down

0 comments on commit 3f738c3

Please sign in to comment.