diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2003-01-02 17:09:34 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2003-01-02 17:09:34 (GMT) |
commit | e23ca3c35aba074f8cfa496af24c7641973c7fab (patch) | |
tree | d6431e0e9b013a45f2b168c44699e2504d2f2d26 /Lib/idlelib/idle.pyw | |
parent | 9c2fbb5619b01a4acca8bf3b57228138ffb81367 (diff) | |
download | cpython-e23ca3c35aba074f8cfa496af24c7641973c7fab.zip cpython-e23ca3c35aba074f8cfa496af24c7641973c7fab.tar.gz cpython-e23ca3c35aba074f8cfa496af24c7641973c7fab.tar.bz2 |
Improve exception handling.
Diffstat (limited to 'Lib/idlelib/idle.pyw')
-rw-r--r-- | Lib/idlelib/idle.pyw | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/idle.pyw b/Lib/idlelib/idle.pyw index 0d4e85f..c8a8fea 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() |