]> granicus.if.org Git - python/commitdiff
Revert to revision 1.3; Mac OS X has a platform specific startup script, macosx_main.py
authorTony Lownds <tony@lownds.com>
Mon, 23 Dec 2002 18:12:41 +0000 (18:12 +0000)
committerTony Lownds <tony@lownds.com>
Mon, 23 Dec 2002 18:12:41 +0000 (18:12 +0000)
Lib/idlelib/idle

index 08af399b2c82d1771fa2f3b7c4f419e19e772ce8..8638a165b4b64808cf9da3ef8e5d175f95be3943 100755 (executable)
@@ -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()