Change to always call list.append with a single argument.
This does not mean I still support this code!!!
This commit is contained in:
parent
2715bb20db
commit
3159e1e1ef
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue