Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 36660:3c0b26113df6 legacy-trunk
Generate code to recursively copy an AST into
a tree of Python objects. Expose this through compile().
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sun, 26 Feb 2006 19:42:26 +0000 |
| parents | fe4ae0c417c7 |
| children | dba6494735d0 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Sun Feb 26 19:27:29 2006 +0000 +++ b/Python/bltinmodule.c Sun Feb 26 19:42:26 2006 +0000 @@ -443,7 +443,7 @@ } 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");
