summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin/CSplit.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-12-14 12:57:56 (GMT)
committerGuido van Rossum <guido@python.org>1992-12-14 12:57:56 (GMT)
commit89a78697b86782a08be54269b9a7f55d4137d184 (patch)
treec93404611fb1495f466ccd5695b8e80cfab870a1 /Lib/lib-stdwin/CSplit.py
parenta8993cfe16a04c612da72f72181ac63c6f858224 (diff)
downloadcpython-89a78697b86782a08be54269b9a7f55d4137d184.zip
cpython-89a78697b86782a08be54269b9a7f55d4137d184.tar.gz
cpython-89a78697b86782a08be54269b9a7f55d4137d184.tar.bz2
* 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!
Diffstat (limited to 'Lib/lib-stdwin/CSplit.py')
-rw-r--r--Lib/lib-stdwin/CSplit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-stdwin/CSplit.py b/Lib/lib-stdwin/CSplit.py
index 90d137e..90d5111 100644
--- a/Lib/lib-stdwin/CSplit.py
+++ b/Lib/lib-stdwin/CSplit.py
@@ -9,7 +9,7 @@ from Split import Split
class CSplit(Split):
#
- def getminsize(self, (m, (width, height))):
+ def getminsize(self, m, (width, height)):
# Since things look best if the children are spaced evenly
# along the circle (and often all children have the same
# size anyway) we compute the max child size and assume
@@ -65,5 +65,5 @@ class CSplit(Split):
right, bottom = \
left + child_width, \
top + child_height
- child.setbounds((left, top), (right, bottom))
+ child.setbounds(((left, top), (right, bottom)))
#