diff options
Diffstat (limited to 'Demo')
-rw-r--r-- | Demo/tix/grid.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/tix/grid.py b/Demo/tix/grid.py index 07ca87f..79b8886 100644 --- a/Demo/tix/grid.py +++ b/Demo/tix/grid.py @@ -18,8 +18,8 @@ class MyGrid(tk.Grid): g = MyGrid(r, name="a_grid", selectunit="cell") g.pack(fill=tk.BOTH) -for x in xrange(5): - for y in xrange(5): +for x in range(5): + for y in range(5): g.set(x,y,text=str((x,y))) c = tk.Button(r, text="Close", command=r.destroy) |