◐ Shell
clean mode source ↗

Message 273624 - Python tracker

Testing it myself that way:

C:\>type test.py
a.has_key(b)and x

C:\>"C:\Program Files\Python 3.5\Tools\scripts\2to3.py" test.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored test.py
--- test.py     (original)
+++ test.py     (refactored)
@@ -1 +1 @@
-a.has_key(b)and x
+b in aand x
RefactoringTool: Files that need to be modified:
RefactoringTool: test.py