diff --git a/Tools/scripts/2to3 b/Tools/scripts/2to3 index 4fd2cf8195d..2a447cffeaf 100755 --- a/Tools/scripts/2to3 +++ b/Tools/scripts/2to3 @@ -1,7 +1,6 @@ #!/usr/bin/env python -from lib2to3 import refactor +from lib2to3.main import main import sys import os -fixers = os.path.join(os.path.dirname(refactor.__file__), "fixes") -sys.exit(refactor.main(fixers)) +sys.exit(main("lib2to3.fixes"))