From 249efd18d76ba0f7e4a011689a8ecf9d7ac351a9 Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Sat, 16 Nov 2024 11:55:18 +0900 Subject: [PATCH] nit --- Python/specialize.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Python/specialize.c b/Python/specialize.c index e46b34ecc32e61..8a0d9f141cd6f3 100644 --- a/Python/specialize.c +++ b/Python/specialize.c @@ -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); @@ -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: