summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index 5807bd5..c56f1d3 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -3452,6 +3452,7 @@ dummy_func(
func->func_defaults = POP();
}
+ func->func_version = ((PyCodeObject *)codeobj)->co_version;
PUSH((PyObject *)func);
}