Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Nov 16, 2024
1 parent b27f916 commit 249efd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Python/specialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -2743,11 +2743,11 @@ _Py_Specialize_ToBool(_PyStackRef value_o, _Py_CODEUNIT *instr)
int err = _PyType_Validate(Py_TYPE(value), check_type_always_true, &version);
if (err < 0) {
reason = SPEC_FAIL_OUT_OF_VERSIONS;
goto fail;
goto failure;
}
else if (err > 0) {
reason = err;
goto fail;
goto failure;
}

assert(err == 0);
Expand All @@ -2757,7 +2757,7 @@ _Py_Specialize_ToBool(_PyStackRef value_o, _Py_CODEUNIT *instr)
goto success;
}
reason = to_bool_fail_kind(value);
fail:
failure:
unspecialize(instr, reason);
return;
success:
Expand Down

0 comments on commit 249efd1

Please sign in to comment.