summaryrefslogtreecommitdiffstats
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-26 19:42:26 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-26 19:42:26 (GMT)
commitbd260da900b5c5f16e5c61f6795d08171b33e0f8 (patch)
tree0880faf7b6da37250984d1a0e6e6c5a0faa25f06 /Include/pythonrun.h
parent23b0dc50535d7eaf2f322b04da7a7f86815fcc8f (diff)
downloadcpython-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 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 446133a..a18a4e2 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -11,6 +11,7 @@ extern "C" {
#define PyCF_MASK_OBSOLETE (CO_NESTED)
#define PyCF_SOURCE_IS_UTF8 0x0100
#define PyCF_DONT_IMPLY_DEDENT 0x0200
+#define PyCF_ONLY_AST 0x0400
typedef struct {
int cf_flags; /* bitmask of CO_xxx flags relevant to future */