From: Benjamin Peterson Date: Tue, 9 Aug 2011 21:49:52 +0000 (-0500) Subject: make this work with py2.5 X-Git-Tag: v3.3.0a1~1724 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f7500424c098ea0a463986de9369f6c9711ec3c;p=thirdparty%2FPython%2Fcpython.git make this work with py2.5 --- diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index d9d7662eb0ac..b4c31c34f5e7 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