summaryrefslogtreecommitdiffstats
path: root/Lib/lib-old/fmt.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-08 14:06:17 (GMT)
committerGuido van Rossum <guido@python.org>1996-10-08 14:06:17 (GMT)
commitb7f48e39c379e60473c220a586039aa56cea0b50 (patch)
tree3bad8e066d8767e3866430a041f9b25a009013bc /Lib/lib-old/fmt.py
parent3c7739a75435df0fe5c86b2dec8de3d367212108 (diff)
downloadcpython-b7f48e39c379e60473c220a586039aa56cea0b50.zip
cpython-b7f48e39c379e60473c220a586039aa56cea0b50.tar.gz
cpython-b7f48e39c379e60473c220a586039aa56cea0b50.tar.bz2
Change to always call list.append with a single argument.
Diffstat (limited to 'Lib/lib-old/fmt.py')
-rw-r--r--Lib/lib-old/fmt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-old/fmt.py b/Lib/lib-old/fmt.py
index 4a655e4..f7c2718 100644
--- a/Lib/lib-old/fmt.py
+++ b/Lib/lib-old/fmt.py
@@ -335,7 +335,7 @@ closechar = \
{'b':'*', 'i':'_', 'u':'_', 'q':'\'', 'B':'*', 'I':'_', 'U':'_', 'Q':'\''}
def finalize(para):
oldfont = curfont = 'r'
- para.words.append('r', '', 0, 0, 0, 0) # temporary, deleted at end
+ para.words.append(('r', '', 0, 0, 0, 0)) # temporary, deleted at end
for i in range(len(para.words)):
fo, te, wi = para.words[i][:3]
if fo <> None: curfont = fo