summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib-tk/Canvas.py3
-rwxr-xr-xLib/tkinter/Canvas.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/Lib/lib-tk/Canvas.py b/Lib/lib-tk/Canvas.py
index cba22d1..65f87f6 100644
--- a/Lib/lib-tk/Canvas.py
+++ b/Lib/lib-tk/Canvas.py
@@ -2,8 +2,7 @@
from Tkinter import Canvas
-StringType = type('')
-DictionaryType = type({})
+from types import *
def _flatten(tuple):
res = ()
diff --git a/Lib/tkinter/Canvas.py b/Lib/tkinter/Canvas.py
index cba22d1..65f87f6 100755
--- a/Lib/tkinter/Canvas.py
+++ b/Lib/tkinter/Canvas.py
@@ -2,8 +2,7 @@
from Tkinter import Canvas
-StringType = type('')
-DictionaryType = type({})
+from types import *
def _flatten(tuple):
res = ()