Put support for a cnf dictionary back in, since it is still supported
by all true Tkinter widgets. (Not that I *like* this module -- it
stinks, but until I have something better, I can't nuke it.)
diff --git a/Lib/tkinter/ScrolledText.py b/Lib/tkinter/ScrolledText.py
index cf6b2f1..4a67f36 100755
--- a/Lib/tkinter/ScrolledText.py
+++ b/Lib/tkinter/ScrolledText.py
@@ -14,7 +14,9 @@
from Tkinter import _cnfmerge
class ScrolledText(Text):
- def __init__(self, master=None, **cnf):
+ def __init__(self, master=None, cnf={}, **kw):
+ if kw:
+ cnf = _cnfmerge((cnf, kw))
fcnf = {}
for k in cnf.keys():
if type(k) == ClassType or k == 'name':