Commit d8a6c5f4 authored by Tony Lownds's avatar Tony Lownds

Keep __main__ namespace clean

parent 5e156add
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment