summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Canvas.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-08 18:31:11 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-08 18:31:11 (GMT)
commit524e9a450bfb4b40f2815923a3229beab058858a (patch)
tree1d514cbefbe6184e04bff086a933ee1df95db197 /Lib/lib-tk/Canvas.py
parentfcce630a7dfa2e1c10b87be44966196b693bd743 (diff)
downloadcpython-524e9a450bfb4b40f2815923a3229beab058858a.zip
cpython-524e9a450bfb4b40f2815923a3229beab058858a.tar.gz
cpython-524e9a450bfb4b40f2815923a3229beab058858a.tar.bz2
Need to import * from types
Diffstat (limited to 'Lib/lib-tk/Canvas.py')
-rw-r--r--Lib/lib-tk/Canvas.py3
1 files changed, 1 insertions, 2 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 = ()