Updated for Python 1.4

This commit is contained in:
Guido van Rossum 1996-07-30 18:57:18 +00:00
parent c30e95f4b0
commit 89cb67bb64
43 changed files with 731 additions and 961 deletions

View file

@ -15,9 +15,8 @@ class Test(Frame):
def createWidgets(self):
# a hello button
self.hi_there = Button(self, {'text': 'Hello'})
self.hi_there.pack({'side': 'left'})
self.hi_there = Button(self, text='Hello')
self.hi_there.pack(side=LEFT)
def __init__(self, master=None):
Frame.__init__(self, master)