mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
* More changes due to stricter argument passing rules
* Fixed calendar.py, mimetools.py, whrandom.py to cope with time.time() returning a floating point number. (And fix old bug in calendar) * Add recursion level to mainloop.mainloop(), to make it reentrant.
This commit is contained in:
parent
a2b7f40513
commit
fea2af1e9b
18 changed files with 113 additions and 78 deletions
|
@ -60,12 +60,12 @@ class TransParent(ManageOneChild):
|
|||
def realize(self):
|
||||
if self.child:
|
||||
self.child.realize()
|
||||
def draw(self, args):
|
||||
def draw(self, d, area):
|
||||
if self.child:
|
||||
self.child.draw(args)
|
||||
def altdraw(self, args):
|
||||
self.child.draw(d, area)
|
||||
def altdraw(self, area):
|
||||
if self.child:
|
||||
self.child.altdraw(args)
|
||||
self.child.altdraw(area)
|
||||
#
|
||||
# Downcalls only made after certain upcalls
|
||||
#
|
||||
|
@ -117,7 +117,7 @@ class TransParent(ManageOneChild):
|
|||
#
|
||||
def change(self, area):
|
||||
self.parent.change(area)
|
||||
def scroll(self, args):
|
||||
self.parent.scroll(args)
|
||||
def scroll(self, area, vector):
|
||||
self.parent.scroll(area, vector)
|
||||
def settimer(self, itimer):
|
||||
self.parent.settimer(itimer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue