summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/ScrolledText.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-04-06 09:01:11 (GMT)
commitff41c48a77b7d1411ce97190c8b8405bdaa261e1 (patch)
tree94763135f421e0c32c6356e083c4d3521e43cd67 /Lib/lib-tk/ScrolledText.py
parent50c61d5a6c2c551b31270d78b9e53ccef3fdf7a8 (diff)
downloadcpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.zip
cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.gz
cpython-ff41c48a77b7d1411ce97190c8b8405bdaa261e1.tar.bz2
SF patch #701494: more apply removals
Diffstat (limited to 'Lib/lib-tk/ScrolledText.py')
-rw-r--r--Lib/lib-tk/ScrolledText.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/ScrolledText.py b/Lib/lib-tk/ScrolledText.py
index a14ae4d..367aa89 100644
--- a/Lib/lib-tk/ScrolledText.py
+++ b/Lib/lib-tk/ScrolledText.py
@@ -24,11 +24,11 @@ class ScrolledText(Text):
if type(k) == ClassType or k == 'name':
fcnf[k] = cnf[k]
del cnf[k]
- self.frame = apply(Frame, (master,), fcnf)
+ self.frame = Frame(master, **fcnf)
self.vbar = Scrollbar(self.frame, name='vbar')
self.vbar.pack(side=RIGHT, fill=Y)
cnf['name'] = 'text'
- apply(Text.__init__, (self, self.frame), cnf)
+ Text.__init__(self, self.frame, **cnf)
self.pack(side=LEFT, fill=BOTH, expand=1)
self['yscrollcommand'] = self.vbar.set
self.vbar['command'] = self.yview