1
0
forked from VimPlug/jedi

moved the input of get_index_types to a more typical type system

This commit is contained in:
Dave Halter
2014-04-04 12:09:46 +02:00
parent 84fde13b84
commit f7e236971b
4 changed files with 27 additions and 28 deletions

View File

@@ -7,7 +7,6 @@ from jedi.parser import representation as pr
from jedi import debug
from jedi.common import PushBackIterator
from jedi.evaluate.compiled import CompiledObject, create
from jedi.evaluate import iterable
class PythonGrammar(object):
@@ -197,6 +196,7 @@ def _element_calculate(left, operator, right):
if operator == '*':
# for iterables, ignore * operations
from jedi.evaluate import iterable
if isinstance(left, iterable.Array) or is_string(left):
return [left]
elif operator == '+':