diff options
Diffstat (limited to 'Lib/idlelib')
-rwxr-xr-x | Lib/idlelib/idle | 3 | ||||
-rw-r--r-- | Lib/idlelib/idle.py | 3 | ||||
-rw-r--r-- | Lib/idlelib/idle.pyw | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/Lib/idlelib/idle b/Lib/idlelib/idle index 0d4e85f..c8a8fea 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() diff --git a/Lib/idlelib/idle.py b/Lib/idlelib/idle.py index 0d4e85f..c8a8fea 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() 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() |