summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 9bb20de..d7b8872 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1098,7 +1098,7 @@ Py_CompileStringFlags(char *str, char *filename, int start,
n = PyParser_SimpleParseString(str, start);
if (n == NULL)
return NULL;
- co = PyNode_Compile(n, filename);
+ co = PyNode_CompileFlags(n, filename, flags);
PyNode_Free(n);
return (PyObject *)co;
}