Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mortoray
· 9y ago · 0 comments
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.
Comments
[–]
agf
9y ago
Then you should update your post to say that, rather than saying 2to3 didn't do anything to your code.
[–]
mkesper
9y ago
Try using some of the 2to3 fixers
https://docs.python.org/2/library/2to3.html#fixers
like the idioms fixer.