diff options
Diffstat (limited to 'Demo/stdwin/ibrowse')
-rwxr-xr-x | Demo/stdwin/ibrowse/ibrowse.py | 2 | ||||
-rwxr-xr-x | Demo/stdwin/ibrowse/ifile.py | 4 | ||||
-rwxr-xr-x | Demo/stdwin/ibrowse/itags.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Demo/stdwin/ibrowse/ibrowse.py b/Demo/stdwin/ibrowse/ibrowse.py index 41574ad..eec5eb7 100755 --- a/Demo/stdwin/ibrowse/ibrowse.py +++ b/Demo/stdwin/ibrowse/ibrowse.py @@ -489,7 +489,7 @@ def imove(win, ref): # if win.file and win.node: lastnode = '(' + win.file + ')' + win.node - win.last.append(lastnode, win.textobj.getfocus()) + win.last.append((lastnode, win.textobj.getfocus())) win.file = file win.node = node win.header = header diff --git a/Demo/stdwin/ibrowse/ifile.py b/Demo/stdwin/ibrowse/ifile.py index 1ea880e..9447164 100755 --- a/Demo/stdwin/ibrowse/ifile.py +++ b/Demo/stdwin/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 # diff --git a/Demo/stdwin/ibrowse/itags.py b/Demo/stdwin/ibrowse/itags.py index f30f3fd..7cddcfa 100755 --- a/Demo/stdwin/ibrowse/itags.py +++ b/Demo/stdwin/ibrowse/itags.py @@ -94,7 +94,7 @@ def parse_indirlist(buf): (a,b), (a1,b1), (a2,b2) = match file = buf[a1:b1] offset = eval(buf[a2:b2]) # XXX What if this gets overflow? - list.append(file, offset) + list.append((file, offset)) i = b return list |