summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index 413ad11..05c17ac 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -3975,6 +3975,11 @@ dummy_func(
assert(func_obj->func_defaults == NULL);
func_obj->func_defaults = attr;
break;
+ case MAKE_FUNCTION_ANNOTATE:
+ assert(PyCallable_Check(attr));
+ assert(func_obj->func_annotate == NULL);
+ func_obj->func_annotate = attr;
+ break;
default:
Py_UNREACHABLE();
}