summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle
diff options
context:
space:
mode:
authorTony Lownds <tony@lownds.com>2002-12-23 18:12:41 (GMT)
committerTony Lownds <tony@lownds.com>2002-12-23 18:12:41 (GMT)
commitb0bfd0f4aa123b9c71d02f446c56d71715e8ba3e (patch)
treee13f20cb0fc18ad119be392df6b18b0d6957c877 /Lib/idlelib/idle
parent103ee9141082db6537c7957b6e07c74f94489df4 (diff)
downloadcpython-b0bfd0f4aa123b9c71d02f446c56d71715e8ba3e.zip
cpython-b0bfd0f4aa123b9c71d02f446c56d71715e8ba3e.tar.gz
cpython-b0bfd0f4aa123b9c71d02f446c56d71715e8ba3e.tar.bz2
Revert to revision 1.3; Mac OS X has a platform specific startup script, macosx_main.py
Diffstat (limited to 'Lib/idlelib/idle')
-rwxr-xr-xLib/idlelib/idle17
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()