gh-119180: PEP 649 compiler changes (#119361)
This commit is contained in:
5
Python/executor_cases.c.h
generated
5
Python/executor_cases.c.h
generated
@@ -4061,6 +4061,11 @@
|
||||
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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user