1
0
forked from VimPlug/jedi

AbstractSequence -> AbstractIterable.

This commit is contained in:
Dave Halter
2017-09-30 17:23:15 +02:00
parent 3bfff846ed
commit f733e07045
7 changed files with 16 additions and 16 deletions

View File

@@ -390,7 +390,7 @@ def _star_star_dict(context, array, input_node, funcdef):
# For now ignore this case. In the future add proper iterators and just
# make one call without crazy isinstance checks.
return {}
elif isinstance(array, iterable.AbstractSequence) and array.array_type == 'dict':
elif isinstance(array, iterable.AbstractIterable) and array.array_type == 'dict':
return array.exact_key_items()
else:
if funcdef is not None: