Kaydet (Commit) d6904ea5 authored tarafından Fred Drake's avatar Fred Drake

Use a better approach to locating IDLE's default configuration,

allowing it to be run from anywhere, including through a symlink to
the actual idle.py script.
üst 44679590
......@@ -4,7 +4,7 @@ import os
import sys
import IdleConf
idle_dir = os.path.split(sys.argv[0])[0]
idle_dir = os.path.dirname(IdleConf.__file__)
IdleConf.load(idle_dir)
# defer importing Pyshell until IdleConf is loaded
......
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