summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib-tk/Tkinter.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index f8b4bd5..b4c9ccc 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -39,6 +39,9 @@ def _flatten(tuple):
res = res + (item,)
return res
+try: _flatten = _tkinter._flatten
+except AttributeError: pass
+
def _cnfmerge(cnfs):
if type(cnfs) is DictionaryType:
return cnfs
@@ -55,6 +58,9 @@ def _cnfmerge(cnfs):
cnf[k] = v
return cnf
+try: _cnfmerge = _tkinter._cnfmerge
+except AttributeError: pass
+
class Event:
pass