[Patches] fmt.py - arg to blah.append() not a tuple

Mark Favas m.favas@per.dem.csiro.au
Sun, 27 Feb 2000 21:04:58 +0800


I know this module is in Lib/lib-old and hence deprecated, but since
it's still being distributed, it might as well be fixed <grin>. Patch
is:

*** fmt.py.orig Sun Feb 27 21:00:48 2000
--- fmt.py      Sun Feb 27 21:01:46 2000
***************
*** 222,230 ****
                        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.nextfont = None
        #
        def bgn_anchor(self, id):
--- 222,230 ----
                        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.nextfont = None
        #
        def bgn_anchor(self, id):

I confirm that, to the best of my knowledge and belief, this
contribution is free of any claims of third parties under
copyright, patent or other rights or interests ("claims").  To
the extent that I have any such claims, I hereby grant to CNRI a
nonexclusive, irrevocable, royalty-free, worldwide license to
reproduce, distribute, perform and/or display publicly, prepare
derivative versions, and otherwise use this contribution as part
of the Python software and its related documentation, or any
derivative versions thereof, at no cost to CNRI or its licensed
users, and to authorize others to do so.

I acknowledge that CNRI may, at its sole discretion, decide
whether or not to incorporate this contribution in the Python
software and its related documentation.  I further grant CNRI
permission to use my name and other identifying information
provided to CNRI by me for use in connection with the Python
software and its related documentation.


-- 
Email  - m.favas@per.dem.csiro.au        Mark C Favas
Phone  - +61 8 9333 6268, 0418 926 074   CSIRO Exploration & Mining
Fax    - +61 8 9383 9891                 Private Bag Post Office Wembley
GPS    - 31.97 S, 115.81 E               Western Australia 6014