Fix multi-arg list.append() calls.

This commit is contained in:
Guido van Rossum 1998-10-08 15:24:48 +00:00
parent 215193bd93
commit 9c2c1e88a3
14 changed files with 27 additions and 27 deletions

View file

@ -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:

View file

@ -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