[Python-checkins] CVS: python/dist/src/Lib/lib-old fmt.py,1.4,1.5

Guido van Rossum guido@cnri.reston.va.us
Sun, 27 Feb 2000 10:34:32 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Lib/lib-old
In directory eric:/projects/python/develop/guido/src/Lib/lib-old

Modified Files:
	fmt.py 
Log Message:
Fixed a multi-arg append() call, discovered by Mark Favas.
Also removed some unnecessary backslases (inside parens).


Index: fmt.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/lib-old/fmt.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** fmt.py	1997/10/22 20:57:37	1.4
--- fmt.py	2000/02/27 15:34:29	1.5
***************
*** 223,229 ****
  			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
  	#
--- 223,229 ----
  			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
  	#
***************
*** 500,504 ****
  				hit = long1, long2
  				self.setselection(hit)
! 				self.window.show( \
  					(p.left, p.top), (p.right, p.bottom))
  				break
--- 500,504 ----
  				hit = long1, long2
  				self.setselection(hit)
! 				self.window.show(
  					(p.left, p.top), (p.right, p.bottom))
  				break