projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e156ad
)
Keep __main__ namespace clean
author
Tony Lownds
<tony@lownds.com>
Tue, 31 Dec 2002 16:52:44 +0000
(16:52 +0000)
committer
Tony Lownds
<tony@lownds.com>
Tue, 31 Dec 2002 16:52:44 +0000
(16:52 +0000)
Lib/idlelib/macosx_main.py
patch
|
blob
|
history
diff --git
a/Lib/idlelib/macosx_main.py
b/Lib/idlelib/macosx_main.py
index c518094f78d496719d1c3bea73edf3f19c8eed2f..8fdeeb1b6a8cf7afc226fc0e5dd32c7c20de4de0 100644
(file)
--- 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.