From 586b24d3be1aec5d2568b070a249b4d75e608782 Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Fri, 4 Mar 2022 04:41:17 -0800 Subject: bpo-46841: Fix error message hacks in `GET_AWAITABLE` (GH-31664) --- Include/opcode.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Include/opcode.h') diff --git a/Include/opcode.h b/Include/opcode.h index 110f8c3617..1b9eeacdea 100644 --- a/Include/opcode.h +++ b/Include/opcode.h @@ -33,7 +33,6 @@ extern "C" { #define GET_YIELD_FROM_ITER 69 #define PRINT_EXPR 70 #define LOAD_BUILD_CLASS 71 -#define GET_AWAITABLE 73 #define LOAD_ASSERTION_ERROR 74 #define RETURN_GENERATOR 75 #define LIST_TO_TUPLE 82 @@ -86,6 +85,7 @@ extern "C" { #define POP_JUMP_IF_NOT_NONE 128 #define POP_JUMP_IF_NONE 129 #define RAISE_VARARGS 130 +#define GET_AWAITABLE 131 #define MAKE_FUNCTION 132 #define BUILD_SLICE 133 #define JUMP_NO_INTERRUPT 134 @@ -160,13 +160,13 @@ extern "C" { #define PRECALL_BUILTIN_FAST_WITH_KEYWORDS 66 #define PRECALL_NO_KW_LEN 67 #define PRECALL_NO_KW_ISINSTANCE 72 -#define PRECALL_NO_KW_LIST_APPEND 76 -#define PRECALL_NO_KW_METHOD_DESCRIPTOR_O 77 -#define PRECALL_NO_KW_METHOD_DESCRIPTOR_NOARGS 78 -#define PRECALL_NO_KW_STR_1 79 -#define PRECALL_NO_KW_TUPLE_1 80 -#define PRECALL_NO_KW_TYPE_1 81 -#define PRECALL_NO_KW_METHOD_DESCRIPTOR_FAST 131 +#define PRECALL_NO_KW_LIST_APPEND 73 +#define PRECALL_NO_KW_METHOD_DESCRIPTOR_O 76 +#define PRECALL_NO_KW_METHOD_DESCRIPTOR_NOARGS 77 +#define PRECALL_NO_KW_STR_1 78 +#define PRECALL_NO_KW_TUPLE_1 79 +#define PRECALL_NO_KW_TYPE_1 80 +#define PRECALL_NO_KW_METHOD_DESCRIPTOR_FAST 81 #define PRECALL_BOUND_METHOD 140 #define PRECALL_PYFUNC 141 #define RESUME_QUICK 143 -- cgit v1.2.1