Kaydet (Commit) 29e4f631 authored tarafından Georg Brandl's avatar Georg Brandl

Remove basestring usage.

üst 2932d937
...@@ -1053,7 +1053,7 @@ class Misc: ...@@ -1053,7 +1053,7 @@ class Misc:
v = self._register(v) v = self._register(v)
elif isinstance(v, (tuple, list)): elif isinstance(v, (tuple, list)):
for item in v: for item in v:
if not isinstance(item, (basestring, int)): if not isinstance(item, (str, int)):
break break
else: else:
v = ' '.join(map(str, v)) v = ' '.join(map(str, v))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment