Kaydet (Commit) 4cfa2475 authored tarafından Brett Cannon's avatar Brett Cannon

Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3.

üst bd258bd4
import sys
from .main import main
sys.exit(main("lib2to3.fixes"))
#!/usr/bin/env python #!/usr/bin/env python
import sys import runpy
from lib2to3.main import main
sys.exit(main("lib2to3.fixes")) runpy.run_module('lib2to3', run_name='__main__', alter_sys=True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment