summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/lib-stdwin/tablewin.py2
-rwxr-xr-xLib/stdwin/tablewin.py2
2 files changed, 2 insertions, 2 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()
diff --git a/Lib/stdwin/tablewin.py b/Lib/stdwin/tablewin.py
index eba161d..43ce809 100755
--- a/Lib/stdwin/tablewin.py
+++ b/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()