forked from VimPlug/jedi
More fixes to *args type inference.
This commit is contained in:
@@ -117,12 +117,12 @@ def is_literal(obj):
|
||||
|
||||
def _is_tuple(obj):
|
||||
from jedi.evaluate import iterable
|
||||
return isinstance(obj, iterable.Array) and obj.type == 'tuple'
|
||||
return isinstance(obj, iterable.AbstractSequence) and obj.type == 'tuple'
|
||||
|
||||
|
||||
def _is_list(obj):
|
||||
from jedi.evaluate import iterable
|
||||
return isinstance(obj, iterable.Array) and obj.type == 'list'
|
||||
return isinstance(obj, iterable.AbstractSequence) and obj.type == 'list'
|
||||
|
||||
|
||||
def _element_calculate(evaluator, left, operator, right):
|
||||
|
||||
Reference in New Issue
Block a user