diff Lib/stdwin/FormSplit.py @ 1110:1d06b1499eb9 legacy-trunk

* Got entirely rid of path.py. * Many modules: fixes for new, stricter, argument passing rules (most changes were automatic ones -- not all of this is tested!). * gwin.py: now uses mainloop.py for its main loop and window admin. * mainloop.py: always call dispatch() with event as a tuple! * Fix bug in pdb's 'clear' command -- don't set the bpt but clear it!
author Guido van Rossum <guido@python.org>
date Mon, 14 Dec 1992 12:57:56 +0000
parents 8331076cfe15
children
line wrap: on
line diff
--- a/Lib/stdwin/FormSplit.py	Mon Dec 14 12:43:19 1992 +0000
+++ b/Lib/stdwin/FormSplit.py	Mon Dec 14 12:57:56 1992 +0000
@@ -20,7 +20,7 @@
 		self.last_child = None
 		return Split.create(self, parent)
 	#
-	def getminsize(self, (m, sugg_size)):
+	def getminsize(self, m, sugg_size):
 		max_width, max_height = 0, 0
 		for c in self.children:
 			c.form_width, c.form_height = c.getminsize(m, (0, 0))
@@ -38,9 +38,9 @@
 		for c in self.children:
 			left, top = c.form_left + fleft, c.form_top + ftop
 			right, bottom = left + c.form_width, top + c.form_height
-			c.setbounds((left, top), (right, bottom))
+			c.setbounds(((left, top), (right, bottom)))
 	#
-	def placenext(self, (left, top)):
+	def placenext(self, left, top):
 		self.next_left = left
 		self.next_top = top
 		self.last_child = None