aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/idle.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle.py')
-rw-r--r--Lib/idlelib/idle.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/idle.py b/Lib/idlelib/idle.py
index 0d4e85fdf09..c8a8feaf6ce 100644
--- a/Lib/idlelib/idle.py
+++ b/Lib/idlelib/idle.py
@@ -2,8 +2,9 @@
try:
import idlelib.PyShell
- idlelib.PyShell.main()
except ImportError:
# IDLE is not installed, but maybe PyShell is on sys.path:
import PyShell
PyShell.main()
+else:
+ idlelib.PyShell.main()