Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d8a6c5f

Browse files
committed
Keep __main__ namespace clean
1 parent 5e156ad commit d8a6c5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/idlelib/macosx_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
# this module will become the namespace used by the interactive
3737
# interpreter; remove all variables we have defined.
38-
del sys, __file__, split, join, isdir
38+
del sys, __file__, split, join, isdir, idlelib
3939
__import__('run').main()
4040
else:
4141
# Load idlelib/idle.py which starts the application.

0 commit comments

Comments
 (0)