summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/scrolledtext.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tkinter/scrolledtext.py')
-rw-r--r--Lib/tkinter/scrolledtext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/scrolledtext.py b/Lib/tkinter/scrolledtext.py
index 4f9a881..8dcead5 100644
--- a/Lib/tkinter/scrolledtext.py
+++ b/Lib/tkinter/scrolledtext.py
@@ -23,7 +23,7 @@ class ScrolledText(Text):
self.vbar = Scrollbar(self.frame)
self.vbar.pack(side=RIGHT, fill=Y)
- kw.update({'yscrollcommand': self.vbar.set})
+ kw['yscrollcommand'] = self.vbar.set
Text.__init__(self, self.frame, **kw)
self.pack(side=LEFT, fill=BOTH, expand=True)
self.vbar['command'] = self.yview