mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-30 18:05:21 +08:00
just check for unicode, the parser doesn't know str anymore :)
This commit is contained in:
@@ -182,8 +182,7 @@ class Evaluator(object):
|
||||
except StopIteration:
|
||||
break
|
||||
continue
|
||||
elif not isinstance(call, (str, unicode)):
|
||||
# TODO just else?
|
||||
elif not isinstance(call, unicode):
|
||||
result += self.eval_call(call)
|
||||
return set(result)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user