From 6f7500424c098ea0a463986de9369f6c9711ec3c Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 9 Aug 2011 16:49:52 -0500 Subject: [PATCH] make this work with py2.5 --- Parser/asdl_c.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index d9d7662eb0a..b4c31c34f5e 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