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

Serhiy Storchaka report at bugs.python.org
Mon Feb 12 08:09:32 EST 2018


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

I think tkinter is a valid exception. It provides the enormous number of names (mostly constants like RIGHT or VERTICAL) which are convenient to use without prefix.

PEP 8 is a style guide for the code of the stdlib. Its suggestions are not mandatory for a user code.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32830>
_______________________________________


More information about the docs mailing list