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

Remove basestring usage.

üst 2932d937
......@@ -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))
......
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