diff options
author | Tony Lownds <tony@lownds.com> | 2002-12-31 16:52:44 (GMT) |
---|---|---|
committer | Tony Lownds <tony@lownds.com> | 2002-12-31 16:52:44 (GMT) |
commit | d8a6c5f4f49362fbddcb3d000195524935906432 (patch) | |
tree | 09f777709f3f17edf70c03c705db6673e6e649e1 | |
parent | 5e156add1f7120ec29eba4ddca5c7fa6c7ac5fee (diff) | |
download | cpython-d8a6c5f4f49362fbddcb3d000195524935906432.zip cpython-d8a6c5f4f49362fbddcb3d000195524935906432.tar.gz cpython-d8a6c5f4f49362fbddcb3d000195524935906432.tar.bz2 |
Keep __main__ namespace clean
-rw-r--r-- | Lib/idlelib/macosx_main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/macosx_main.py b/Lib/idlelib/macosx_main.py index c518094..8fdeeb1 100644 --- a/Lib/idlelib/macosx_main.py +++ b/Lib/idlelib/macosx_main.py @@ -35,7 +35,7 @@ if '-p' in sys.argv: # this module will become the namespace used by the interactive # interpreter; remove all variables we have defined. - del sys, __file__, split, join, isdir + del sys, __file__, split, join, isdir, idlelib __import__('run').main() else: # Load idlelib/idle.py which starts the application. |