]> granicus.if.org Git - python/commitdiff
Fixed a multi-arg append() call, discovered by Mark Favas.
authorGuido van Rossum <guido@python.org>
Sun, 27 Feb 2000 15:34:29 +0000 (15:34 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 27 Feb 2000 15:34:29 +0000 (15:34 +0000)
Also removed some unnecessary backslases (inside parens).

Lib/lib-old/fmt.py

index 3f146cb5894aa678c31de8eac703e1bb816cebfa..86671cdac1c11343fb2a46dad000ce37384ef7f2 100644 (file)
@@ -222,9 +222,9 @@ class BaseFormatter:
                        self.para.just = self.just
                        self.nextfont = self.font
                space = int(space * self.space)
-               self.para.words.append(self.nextfont, text, \
-                       self.d.textwidth(text), space, space, \
-                       self.ascent, self.descent)
+               self.para.words.append((self.nextfont, text,
+                       self.d.textwidth(text), space, space,
+                       self.ascent, self.descent))
                self.nextfont = None
        #
        def bgn_anchor(self, id):
@@ -499,7 +499,7 @@ class StdwinBackEnd(SavingBackEnd):
                                long2 = i, len(p.extract())
                                hit = long1, long2
                                self.setselection(hit)
-                               self.window.show( \
+                               self.window.show(
                                        (p.left, p.top), (p.right, p.bottom))
                                break