From d8a6c5f4f49362fbddcb3d000195524935906432 Mon Sep 17 00:00:00 2001 From: Tony Lownds Date: Tue, 31 Dec 2002 16:52:44 +0000 Subject: [PATCH] Keep __main__ namespace clean --- Lib/idlelib/macosx_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/macosx_main.py b/Lib/idlelib/macosx_main.py index c518094f78..8fdeeb1b6a 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. -- 2.40.0