1
0
forked from VimPlug/jedi

Get a first local test passing.

This commit is contained in:
Dave Halter
2014-10-10 12:07:08 +02:00
parent 3bf1fec568
commit 54c91b1509
3 changed files with 5 additions and 12 deletions

View File

@@ -171,7 +171,7 @@ class Base(object):
class _Leaf(Base):
__slots__ = ('value', 'parent', 'start_pos', 'prefix')
def __init__(self, value, start_pos, prefix):
def __init__(self, value, start_pos, prefix=''):
self.value = value
self.start_pos = start_pos
self.prefix = prefix
@@ -1003,14 +1003,7 @@ class Statement(Simple, DocstringMixin):
would result in ``[(Name(x), '='), (Array([Name(y), Name(z)]), '=')]``.
"""
return self._assignment_details
@cache.underscore_memoization
def expression_list(self):
"""
Parse a statement.
"""
return self.children
return []
def set_expression_list(self, lst):
"""It's necessary for some "hacks" to change the expression_list."""