Clean code with 2to3 tool