summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin/WindowParent.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-01-04 09:16:51 (GMT)
committerGuido van Rossum <guido@python.org>1993-01-04 09:16:51 (GMT)
commitfea2af1e9b0c99cac6cb8806c4af651a38e92d07 (patch)
treee9e0ec3b003498ab942e1c0b7dd3d28951ca2701 /Lib/lib-stdwin/WindowParent.py
parenta2b7f40513ba5d75a2063c3fabe47377cd8c0416 (diff)
downloadcpython-fea2af1e9b0c99cac6cb8806c4af651a38e92d07.zip
cpython-fea2af1e9b0c99cac6cb8806c4af651a38e92d07.tar.gz
cpython-fea2af1e9b0c99cac6cb8806c4af651a38e92d07.tar.bz2
* 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.
Diffstat (limited to 'Lib/lib-stdwin/WindowParent.py')
-rw-r--r--Lib/lib-stdwin/WindowParent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-stdwin/WindowParent.py b/Lib/lib-stdwin/WindowParent.py
index 1964d38..cdec10b 100644
--- a/Lib/lib-stdwin/WindowParent.py
+++ b/Lib/lib-stdwin/WindowParent.py
@@ -136,9 +136,9 @@ class WindowParent(ManageOneChild):
if self.win:
self.win.change(area)
#
- def scroll(self, args):
+ def scroll(self, area, vector):
if self.win:
- self.win.scroll(args)
+ self.win.scroll(area, vector)
#
def settimer(self, itimer):
if self.win: