diff options
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/idlelib/idle | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/Lib/idlelib/idle b/Lib/idlelib/idle index 08af399..8638a16 100755 --- a/Lib/idlelib/idle +++ b/Lib/idlelib/idle @@ -1,17 +1,4 @@ #! /usr/bin/env python -import sys as _sys - -# See if we are being asked to execute the subprocess code -if '-p' in _sys.argv: - # run expects only the port number in _sys.argv - _sys.argv.remove('-p') - - # this module will become the namepsace used by the interactive - # interpreter; remove all variables we have defined. - del _sys - __import__('run').main() -else: - # Start the IDLE GUI - import PyShell - PyShell.main() +import PyShell +PyShell.main() |