commit | 29e4f631ac6335c67518d599facbbb5c41143d75 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri May 30 06:27:54 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Fri May 30 06:27:54 2008 +0000 |
tree | 9afe627e595705491c67dd87bacb3b87b6c77233 | |
parent | 2932d9376e4d89f401ad25f9dfab7fdbf25779cc [diff] |
Remove basestring usage.
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 @@ 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))