summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin/tablewin.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-stdwin/tablewin.py')
-rw-r--r--Lib/lib-stdwin/tablewin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-stdwin/tablewin.py b/Lib/lib-stdwin/tablewin.py
index eba161d..43ce809 100644
--- a/Lib/lib-stdwin/tablewin.py
+++ b/Lib/lib-stdwin/tablewin.py
@@ -229,7 +229,7 @@ def demo(): # Demonstration
col1 = [('a2', da), ('bbb2', da)]
col2 = [('a3', da), ('b3', da), ('c3', da), ('d4', da), ('d5', da)]
col3 = []
- for i in range(1, 31): col3.append('xxx' + `i`, da)
+ for i in range(1, 31): col3.append(('xxx' + `i`, da))
data = [col0, col1, col2, col3]
w = open('tablewin.demo', data)
gwin.mainloop()