summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-30 06:27:54 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-30 06:27:54 (GMT)
commit29e4f631ac6335c67518d599facbbb5c41143d75 (patch)
tree9afe627e595705491c67dd87bacb3b87b6c77233 /Lib/tkinter
parent2932d9376e4d89f401ad25f9dfab7fdbf25779cc (diff)
downloadcpython-29e4f631ac6335c67518d599facbbb5c41143d75.zip
cpython-29e4f631ac6335c67518d599facbbb5c41143d75.tar.gz
cpython-29e4f631ac6335c67518d599facbbb5c41143d75.tar.bz2
Remove basestring usage.
Diffstat (limited to 'Lib/tkinter')
-rw-r--r--Lib/tkinter/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
index 3d65a21..24badd8 100644
--- a/Lib/tkinter/__init__.py
+++ b/Lib/tkinter/__init__.py
@@ -1053,7 +1053,7 @@ class Misc:
v = self._register(v)
elif isinstance(v, (tuple, list)):
for item in v:
- if not isinstance(item, (basestring, int)):
+ if not isinstance(item, (str, int)):
break
else:
v = ' '.join(map(str, v))