diff options
author | Guido van Rossum <guido@python.org> | 2000-02-27 15:34:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-02-27 15:34:29 (GMT) |
commit | d28de23bda3a6badc23f7b693a5e6982eb4cc9db (patch) | |
tree | e4edcc1e5667cc31e14ba4553be2eb53cb443127 | |
parent | 7733e12c9cc0fbff9740ba6035bc5d266648449b (diff) | |
download | cpython-d28de23bda3a6badc23f7b693a5e6982eb4cc9db.zip cpython-d28de23bda3a6badc23f7b693a5e6982eb4cc9db.tar.gz cpython-d28de23bda3a6badc23f7b693a5e6982eb4cc9db.tar.bz2 |
Fixed a multi-arg append() call, discovered by Mark Favas.
Also removed some unnecessary backslases (inside parens).
-rw-r--r-- | Lib/lib-old/fmt.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lib-old/fmt.py b/Lib/lib-old/fmt.py index 3f146cb..86671cd 100644 --- a/Lib/lib-old/fmt.py +++ b/Lib/lib-old/fmt.py @@ -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 |