From bd260da900b5c5f16e5c61f6795d08171b33e0f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 26 Feb 2006 19:42:26 +0000 Subject: Generate code to recursively copy an AST into a tree of Python objects. Expose this through compile(). --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/bltinmodule.c') diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 388ec720f0..49645181a2 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -443,7 +443,7 @@ builtin_compile(PyObject *self, PyObject *args) } if (supplied_flags & - ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_DONT_IMPLY_DEDENT)) + ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_DONT_IMPLY_DEDENT | PyCF_ONLY_AST)) { PyErr_SetString(PyExc_ValueError, "compile(): unrecognised flags"); -- cgit v1.2.1