diff options
author | Georg Brandl <georg@python.org> | 2008-05-30 06:27:54 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-30 06:27:54 (GMT) |
commit | 29e4f631ac6335c67518d599facbbb5c41143d75 (patch) | |
tree | 9afe627e595705491c67dd87bacb3b87b6c77233 /Lib/tkinter | |
parent | 2932d9376e4d89f401ad25f9dfab7fdbf25779cc (diff) | |
download | cpython-29e4f631ac6335c67518d599facbbb5c41143d75.zip cpython-29e4f631ac6335c67518d599facbbb5c41143d75.tar.gz cpython-29e4f631ac6335c67518d599facbbb5c41143d75.tar.bz2 |
Remove basestring usage.
Diffstat (limited to 'Lib/tkinter')
-rw-r--r-- | Lib/tkinter/__init__.py | 2 |
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)) |