summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle.py')
-rw-r--r--Lib/idlelib/idle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle.py b/Lib/idlelib/idle.py
index 131e8d3..0d4e85f 100644
--- a/Lib/idlelib/idle.py
+++ b/Lib/idlelib/idle.py
@@ -1,9 +1,9 @@
-#! /usr/bin/env python
+#!/usr/bin/python
try:
import idlelib.PyShell
idlelib.PyShell.main()
-except:
+except ImportError:
# IDLE is not installed, but maybe PyShell is on sys.path:
import PyShell
PyShell.main()