[docs] [issue32830] tkinter documentation suggests "from tkinter import *", contradicting PEP8

Serhiy Storchaka report at bugs.python.org
Mon Feb 12 08:52:55 EST 2018

Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I want to add that the star import is more convenient when you experiment with Tkinter in REPL. You don't know what names will be needed when import Tkinter.

The interpreter core has a special support of Tkinter. You don't need to run mainloop() for updating GUI in REPL. So this is a supported case.


Python tracker <report at bugs.python.org>

More information about the docs mailing list