mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
* 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!
This commit is contained in:
parent
a8993cfe16
commit
89a78697b8
41 changed files with 208 additions and 228 deletions
|
@ -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)))
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue