summaryrefslogtreecommitdiffstats
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-07-02 21:54:36 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-07-02 21:54:36 (GMT)
commitffeaa8852536cdf3f7f28a681654e383874d3f5b (patch)
tree3c9e31929c2f441e855aec5c4299fea94fc961bc /Include/pythonrun.h
parent466a7822c19d97223cf54549b247ce2c33685825 (diff)
downloadcpython-ffeaa8852536cdf3f7f28a681654e383874d3f5b.zip
cpython-ffeaa8852536cdf3f7f28a681654e383874d3f5b.tar.gz
cpython-ffeaa8852536cdf3f7f28a681654e383874d3f5b.tar.bz2
a little more fiddling to make flags like 2.x
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 28e1690..09d3ee5 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -10,7 +10,7 @@ extern "C" {
#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL)
-#define PyCF_MASK_OBSOLETE 0
+#define PyCF_MASK_OBSOLETE (CO_NESTED)
#define PyCF_SOURCE_IS_UTF8 0x0100
#define PyCF_DONT_IMPLY_DEDENT 0x0200
#define PyCF_ONLY_AST 0x0400