We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a337c1 commit 65c78e1Copy full SHA for 65c78e1
2 files changed
Lib/lib-tk/Tkinter.py
@@ -43,8 +43,12 @@ def _cnfmerge(cnfs):
43
else:
44
cnf = {}
45
for c in _flatten(cnfs):
46
- for k, v in c.items():
47
- cnf[k] = v
+ try:
+ cnf.update(c)
48
+ except (AttributeError, TypeError), msg:
49
+ print "_cnfmerge: fallback due to:", msg
50
+ for k, v in c.items():
51
+ cnf[k] = v
52
return cnf
53
54
class Event:
Lib/tkinter/Tkinter.py
0 commit comments