summaryrefslogtreecommitdiff
path: root/Lib/idlelib/idle.pyw
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2003-01-02 17:09:34 +0000
committerKurt B. Kaiser <kbk@shore.net>2003-01-02 17:09:34 +0000
commit444bea9657623d2b95706a091f30e23aa214496f (patch)
tree3b7ebf6fd6ce23b07b93a09620ec52ef2e5b6275 /Lib/idlelib/idle.pyw
parent4b2ce813eed0579c6579eaf49b951db69b720f10 (diff)
downloadcpython-444bea9657623d2b95706a091f30e23aa214496f.tar.gz
Improve exception handling.
Diffstat (limited to 'Lib/idlelib/idle.pyw')
-rw-r--r--Lib/idlelib/idle.pyw3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/idle.pyw b/Lib/idlelib/idle.pyw
index 0d4e85fdf0..c8a8feaf6c 100644
--- a/Lib/idlelib/idle.pyw
+++ b/Lib/idlelib/idle.pyw
@@ -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()