summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-08 14:07:21 (GMT)
committerGuido van Rossum <guido@python.org>1996-10-08 14:07:21 (GMT)
commit3159e1e1efb87af30b34732ccc42cbd972ba1116 (patch)
treec8fde40cbf8debe83d83faaa161e2f4ed5bef251 /Lib/stdwin
parent2715bb20dbd498947ed79d4a00d84ec4c5125800 (diff)
downloadcpython-3159e1e1efb87af30b34732ccc42cbd972ba1116.zip
cpython-3159e1e1efb87af30b34732ccc42cbd972ba1116.tar.gz
cpython-3159e1e1efb87af30b34732ccc42cbd972ba1116.tar.bz2
Change to always call list.append with a single argument.
This does not mean I still support this code!!!
Diffstat (limited to 'Lib/stdwin')
-rwxr-xr-xLib/stdwin/tablewin.py2
1 files changed, 1 insertions, 1 deletions
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()