summaryrefslogtreecommitdiffstats
path: root/Lib/Para.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-08 14:06:35 (GMT)
committerGuido van Rossum <guido@python.org>1996-10-08 14:06:35 (GMT)
commit2715bb20dbd498947ed79d4a00d84ec4c5125800 (patch)
tree243bfeb63c50620ac87cad57f37e1b6278e0068a /Lib/Para.py
parentb7f48e39c379e60473c220a586039aa56cea0b50 (diff)
downloadcpython-2715bb20dbd498947ed79d4a00d84ec4c5125800.zip
cpython-2715bb20dbd498947ed79d4a00d84ec4c5125800.tar.gz
cpython-2715bb20dbd498947ed79d4a00d84ec4c5125800.tar.bz2
Changes to always call list.append with a single argument.
Diffstat (limited to 'Lib/Para.py')
-rw-r--r--Lib/Para.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/Para.py b/Lib/Para.py
index c9b3bdd..709b575 100644
--- a/Lib/Para.py
+++ b/Lib/Para.py
@@ -64,11 +64,11 @@ class Para:
for i in range(len(self.words)):
word = self.words[i]
if type(word) == Int: continue
- fo, te, wi, sp, st, as, de = word
- self.words[i] = fo, te, wi, sp, 0, as, de
+ (fo, te, wi, sp, st, as, de) = word
+ 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