summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-08 15:24:48 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-08 15:24:48 (GMT)
commit9c2c1e88a352c947eac2c9eb8b91908f1b5abaad (patch)
tree1409948b07587c6bdecd570b5e41e2eb36d86da1 /Demo/tkinter
parent215193bd93f898b21ed75befd412095d99dee601 (diff)
downloadcpython-9c2c1e88a352c947eac2c9eb8b91908f1b5abaad.zip
cpython-9c2c1e88a352c947eac2c9eb8b91908f1b5abaad.tar.gz
cpython-9c2c1e88a352c947eac2c9eb8b91908f1b5abaad.tar.bz2
Fix multi-arg list.append() calls.
Diffstat (limited to 'Demo/tkinter')
-rwxr-xr-xDemo/tkinter/guido/AttrDialog.py2
-rwxr-xr-xDemo/tkinter/www/Para.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Demo/tkinter/guido/AttrDialog.py b/Demo/tkinter/guido/AttrDialog.py
index 32b4b7e..4878cb5 100755
--- a/Demo/tkinter/guido/AttrDialog.py
+++ b/Demo/tkinter/guido/AttrDialog.py
@@ -113,7 +113,7 @@ class Dialog:
self.choices = {}
list = []
for k, dc in self.options.items():
- list.append(k, dc)
+ list.append((k, dc))
list.sort()
for k, (d, c) in list:
try:
diff --git a/Demo/tkinter/www/Para.py b/Demo/tkinter/www/Para.py
index 6a7057d..e24471f 100755
--- a/Demo/tkinter/www/Para.py
+++ b/Demo/tkinter/www/Para.py
@@ -67,7 +67,7 @@ class Para:
self.words[i] = fo, te, wi, sp, 0, as, de
total = total + wi + sp
if total < tab:
- self.words.append(None, '', 0, tab-total, 0, as, de)
+ self.words.append((None, '', 0, tab-total, 0, as, de))
#
# Make a hanging tag: tab to hang, increment indent_left by hang,
# and reset indent_hang to -hang