diff options
Diffstat (limited to 'Lib/idlelib/idle.py')
-rw-r--r-- | Lib/idlelib/idle.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/idle.py b/Lib/idlelib/idle.py index 141534dfe1..485d5a75a2 100644 --- a/Lib/idlelib/idle.py +++ b/Lib/idlelib/idle.py @@ -1,6 +1,7 @@ import os.path import sys + # Enable running IDLE with idlelib in a non-standard location. # This was once used to run development versions of IDLE. # Because PEP 434 declared idle.py a public interface, @@ -9,5 +10,5 @@ idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) if idlelib_dir not in sys.path: sys.path.insert(0, idlelib_dir) -from idlelib.PyShell import main # This is subject to change +from idlelib.pyshell import main # This is subject to change main() |