mirror of
https://github.com/python/cpython.git
synced 2025-11-27 05:44:16 +00:00
SF Bug #611225.
Bring idle.pyw into alignment with idle.py, eliminate calling deleted module IdleConf.py
This commit is contained in:
parent
7ccd30fa43
commit
16849a7e53
1 changed files with 0 additions and 8 deletions
|
|
@ -1,12 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
import IdleConf
|
|
||||||
|
|
||||||
idle_dir = os.path.split(sys.argv[0])[0]
|
|
||||||
IdleConf.load(idle_dir)
|
|
||||||
|
|
||||||
# defer importing Pyshell until IdleConf is loaded
|
|
||||||
import PyShell
|
import PyShell
|
||||||
PyShell.main()
|
PyShell.main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue