]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
make this work with py2.5
authorBenjamin Peterson <benjamin@python.org>
Tue, 9 Aug 2011 21:49:52 +0000 (16:49 -0500)
committerBenjamin Peterson <benjamin@python.org>
Tue, 9 Aug 2011 21:49:52 +0000 (16:49 -0500)
Parser/asdl_c.py

index d9d7662eb0ac4d5330bb63b5e3dfbed11b54a0af..b4c31c34f5e7f6510be8cddd8cdcd98575201935 100755 (executable)
@@ -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