diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-26 19:42:26 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-26 19:42:26 (GMT) |
commit | bd260da900b5c5f16e5c61f6795d08171b33e0f8 (patch) | |
tree | 0880faf7b6da37250984d1a0e6e6c5a0faa25f06 /Python/bltinmodule.c | |
parent | 23b0dc50535d7eaf2f322b04da7a7f86815fcc8f (diff) | |
download | cpython-bd260da900b5c5f16e5c61f6795d08171b33e0f8.zip cpython-bd260da900b5c5f16e5c61f6795d08171b33e0f8.tar.gz cpython-bd260da900b5c5f16e5c61f6795d08171b33e0f8.tar.bz2 |
Generate code to recursively copy an AST into
a tree of Python objects. Expose this through compile().
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 388ec72..49645181 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"); |