[Python-checkins] r79313 - sandbox/trunk/2to3/lib2to3/fixes/fix_exitfunc.py
benjamin.peterson
python-checkins at python.org
Mon Mar 22 23:59:57 CET 2010
Author: benjamin.peterson
Date: Mon Mar 22 23:59:57 2010
New Revision: 79313
Log:
another case where a symbol is needed
Modified:
sandbox/trunk/2to3/lib2to3/fixes/fix_exitfunc.py
Modified: sandbox/trunk/2to3/lib2to3/fixes/fix_exitfunc.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/fixes/fix_exitfunc.py (original)
+++ sandbox/trunk/2to3/lib2to3/fixes/fix_exitfunc.py Mon Mar 22 23:59:57 2010
@@ -65,6 +65,6 @@
new_import = pytree.Node(syms.import_name,
[Name("import"), Name("atexit", " ")]
)
- new = pytree.Node("simple_stmt", [new_import])
+ new = pytree.Node(syms.simple_stmt, [new_import])
containing_stmt.insert_child(position + 1, Newline())
containing_stmt.insert_child(position + 2, new)
More information about the Python-checkins
mailing list