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

Skip to content

Commit eb58f5d

Browse files
committed
Use column= rather than col=; with Tk 8.4 col= no longer works.
[SF patch 634250 -- that was an IDLEFORK patch.]
1 parent fbceb01 commit eb58f5d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Tools/idle/SearchDialogBase.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ def create_widgets(self):
4848

4949
def make_entry(self, label, var):
5050
l = Label(self.top, text=label)
51-
l.grid(row=self.row, col=0, sticky="w")
51+
l.grid(row=self.row, column=0, sticky="w")
5252
e = Entry(self.top, textvariable=var, exportselection=0)
53-
e.grid(row=self.row, col=1, sticky="we")
53+
e.grid(row=self.row, column=1, sticky="we")
5454
self.row = self.row + 1
5555
return e
5656

5757
def make_frame(self):
5858
f = Frame(self.top)
59-
f.grid(row=self.row, col=0, columnspan=2, sticky="we")
59+
f.grid(row=self.row, column=0, columnspan=2, sticky="we")
6060
self.row = self.row + 1
6161
return f
6262

0 commit comments

Comments
 (0)