diff options
author | Guido van Rossum <guido@python.org> | 1996-10-08 14:07:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-10-08 14:07:21 (GMT) |
commit | 3159e1e1efb87af30b34732ccc42cbd972ba1116 (patch) | |
tree | c8fde40cbf8debe83d83faaa161e2f4ed5bef251 /Lib/stdwin | |
parent | 2715bb20dbd498947ed79d4a00d84ec4c5125800 (diff) | |
download | cpython-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-x | Lib/stdwin/tablewin.py | 2 |
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() |