[Python-3000-checkins] r63804 - python/branches/py3k/Lib/tkinter/__init__.py
georg.brandl
python-3000-checkins at python.org
Fri May 30 08:27:55 CEST 2008
Author: georg.brandl
Date: Fri May 30 08:27:54 2008
New Revision: 63804
Log:
Remove basestring usage.
Modified:
python/branches/py3k/Lib/tkinter/__init__.py
Modified: python/branches/py3k/Lib/tkinter/__init__.py
==============================================================================
--- python/branches/py3k/Lib/tkinter/__init__.py (original)
+++ python/branches/py3k/Lib/tkinter/__init__.py Fri May 30 08:27:54 2008
@@ -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))
More information about the Python-3000-checkins
mailing list