1
0
forked from VimPlug/jedi

Fix a few issues with the newly defined CompiledValue

This commit is contained in:
Dave Halter
2018-09-17 02:10:27 +02:00
parent d07d1a78d3
commit 62df944c47
4 changed files with 14 additions and 10 deletions

View File

@@ -309,7 +309,7 @@ class Tuple(_ContainerBase):
for i in range(self._index_context.py__len__()):
yield LazyKnownContexts(self._get_getitem_contexts(i).execute_annotation())
def py__getitem__(self):
def py__getitem__(self, index_context_set, contextualized_node):
if self._is_homogenous():
return self._get_getitem_contexts(0).execute_annotation()