Revert to revision 1.3; Mac OS X has a platform specific startup script, macosx_main.py

This commit is contained in:
Tony Lownds 2002-12-23 18:12:41 +00:00
parent 103ee91410
commit b0bfd0f4aa
1 changed files with 2 additions and 15 deletions

View File

@ -1,17 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python
import sys as _sys import PyShell
PyShell.main()
# 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()