summaryrefslogtreecommitdiffstats
path: root/Demo/ibrowse/ifile.py
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/ibrowse/ifile.py
parent215193bd93f898b21ed75befd412095d99dee601 (diff)
downloadcpython-9c2c1e88a352c947eac2c9eb8b91908f1b5abaad.zip
cpython-9c2c1e88a352c947eac2c9eb8b91908f1b5abaad.tar.gz
cpython-9c2c1e88a352c947eac2c9eb8b91908f1b5abaad.tar.bz2
Fix multi-arg list.append() calls.
Diffstat (limited to 'Demo/ibrowse/ifile.py')
-rwxr-xr-xDemo/ibrowse/ifile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/ibrowse/ifile.py b/Demo/ibrowse/ifile.py
index b8d59ee..7e66fcd 100755
--- a/Demo/ibrowse/ifile.py
+++ b/Demo/ibrowse/ifile.py
@@ -126,7 +126,7 @@ def analyze_node(text):
topic, ref = text[a1:b1], text[a2:b2]
if ref == ':':
ref = topic
- menu.append(topic, ref)
+ menu.append((topic, ref))
#
# Get the footnotes
#
@@ -140,7 +140,7 @@ def analyze_node(text):
topic, ref = text[a1:b1], text[a2:b2]
if ref == ':':
ref = topic
- footnotes.append(topic, ref)
+ footnotes.append((topic, ref))
#
return node, (prev, next, up), menu, footnotes
#