Merged revisions 79311 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ................ r79311 | benjamin.peterson | 2010-03-22 17:54:42 -0500 (Mon, 22 Mar 2010) | 9 lines Merged revisions 79309 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r79309 | benjamin.peterson | 2010-03-22 17:50:47 -0500 (Mon, 22 Mar 2010) | 1 line pass correct symbol in ........ ................
This commit is contained in:
parent
267f2c7258
commit
508280c0b1
|
@ -62,7 +62,7 @@ class FixExitfunc(fixer_base.BaseFix):
|
|||
containing_stmt = self.sys_import.parent
|
||||
position = containing_stmt.children.index(self.sys_import)
|
||||
stmt_container = containing_stmt.parent
|
||||
new_import = pytree.Node("import_name",
|
||||
new_import = pytree.Node(syms.import_name,
|
||||
[Name("import"), Name("atexit", " ")]
|
||||
)
|
||||
new = pytree.Node("simple_stmt", [new_import])
|
||||
|
|
Loading…
Reference in New Issue