Skip to content

Commit 249efd1

Browse files
committed
nit
1 parent b27f916 commit 249efd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Python/specialize.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2743,11 +2743,11 @@ _Py_Specialize_ToBool(_PyStackRef value_o, _Py_CODEUNIT *instr)
27432743
int err = _PyType_Validate(Py_TYPE(value), check_type_always_true, &version);
27442744
if (err < 0) {
27452745
reason = SPEC_FAIL_OUT_OF_VERSIONS;
2746-
goto fail;
2746+
goto failure;
27472747
}
27482748
else if (err > 0) {
27492749
reason = err;
2750-
goto fail;
2750+
goto failure;
27512751
}
27522752

27532753
assert(err == 0);
@@ -2757,7 +2757,7 @@ _Py_Specialize_ToBool(_PyStackRef value_o, _Py_CODEUNIT *instr)
27572757
goto success;
27582758
}
27592759
reason = to_bool_fail_kind(value);
2760-
fail:
2760+
failure:
27612761
unspecialize(instr, reason);
27622762
return;
27632763
success:

0 commit comments

Comments
 (0)