1
0
forked from VimPlug/jedi

Managed to get dict inputs working into kwargs. This was wrong in the old version of the parser.

This commit is contained in:
Dave Halter
2014-10-27 01:07:15 +01:00
parent 8df8749f22
commit c0768924f6
3 changed files with 20 additions and 18 deletions

View File

@@ -204,7 +204,7 @@ class Array(IterableWrapper):
if name not in ['start_pos', 'get_only_subelement', 'parent',
'get_parent_until', 'items']:
raise AttributeError('Strange access on %s: %s.' % (self, name))
return getattr(self._array, name)
return getattr(self._array_node, name)
def _values(self):
if self.type == pr.Array.DICT: