1
0
forked from VimPlug/jedi

Merge remote-tracking branch 'origin/master' into typeshed

This commit is contained in:
Dave Halter
2018-12-15 18:20:51 +01:00
6 changed files with 46 additions and 1 deletions

View File

@@ -294,6 +294,11 @@ class DictComprehension(_DictMixin, ComprehensionMixin, Sequence):
def get_mapping_item_contexts(self):
return self._dict_keys(), self._dict_values()
def exact_key_items(self):
# NOTE: A smarter thing can probably done here to achieve better
# completions, but at least like this jedi doesn't crash
return []
class GeneratorComprehension(ComprehensionMixin, GeneratorBase):
pass