commit | 6f7500424c098ea0a463986de9369f6c9711ec3c | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Aug 09 16:49:52 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Aug 09 16:49:52 2011 -0500 |
tree | 3f2d659157b6bac133f66d3efed90ac1deaea509 | |
parent | a17a5d67b474c8d05b194977ad8585ce4f8520ef [diff] [blame] |
make this work with py2.5
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