mirror of https://github.com/python/cpython
SF Bug #1046800: Importing Tkinter correctly (thanks Vishnu).
This commit is contained in:
parent
2d1a50ca13
commit
2784df7502
|
@ -664,7 +664,7 @@ is part of the implementation, and not an interface to Tk functionality.
|
|||
Here are some examples of typical usage:
|
||||
|
||||
\begin{verbatim}
|
||||
import Tkinter
|
||||
from Tkinter import *
|
||||
class App(Frame):
|
||||
def __init__(self, master=None):
|
||||
Frame.__init__(self, master)
|
||||
|
|
Loading…
Reference in New Issue