啊哈,您可以将2to3输出传递给patch命令,该命令可以将修改后的文件写入新文件:
patch
mv something.py py2.6_something.py 2to3 py2.6_something.py | patch -o something.py