Y
Hacker News
new
|
ask
|
show
|
jobs
by
mortoray
3437 days ago
The simple syntax changes I did prior to running 2to3 as they came up on the first run I tried. The semantic changes that didn't come up in 2to3 is what I was more bothered about.
2 comments
agf
3437 days ago
Then you should update your post to say that, rather than saying 2to3 didn't do anything to your code.
link
mkesper
3437 days ago
Try using some of the 2to3 fixers
https://docs.python.org/2/library/2to3.html#fixers
like the idioms fixer.
link