summaryrefslogtreecommitdiff
path: root/Lib/idlelib/idle
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle')
-rwxr-xr-xLib/idlelib/idle3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/idle b/Lib/idlelib/idle
index 0d4e85fdf0..c8a8feaf6c 100755
--- a/Lib/idlelib/idle
+++ b/Lib/idlelib/idle
@@ -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()