summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-09 21:49:52 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-09 21:49:52 (GMT)
commit6f7500424c098ea0a463986de9369f6c9711ec3c (patch)
tree3f2d659157b6bac133f66d3efed90ac1deaea509
parenta17a5d67b474c8d05b194977ad8585ce4f8520ef (diff)
downloadcpython-6f7500424c098ea0a463986de9369f6c9711ec3c.zip
cpython-6f7500424c098ea0a463986de9369f6c9711ec3c.tar.gz
cpython-6f7500424c098ea0a463986de9369f6c9711ec3c.tar.bz2
make this work with py2.5
-rwxr-xr-xParser/asdl_c.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index d9d7662..b4c31c3 100755
--- a/Parser/asdl_c.py
+++ b/Parser/asdl_c.py
@@ -1,5 +1,6 @@
#! /usr/bin/env python
"""Generate C code from an ASDL description."""
+from __future__ import with_statement
# TO DO
# handle fields that have a type but no name