forked from VimPlug/jedi
Adding prev_sibling, getting self attributes.
This commit is contained in:
@@ -295,11 +295,16 @@ class FakeArray(pr.Array):
|
||||
|
||||
class FakeStatement(pr.ExprStmt):
|
||||
def __init__(self, values, start_pos=(0, 0), parent=None):
|
||||
p = start_pos
|
||||
self._start_pos = start_pos
|
||||
super(FakeStatement, self).__init__([])
|
||||
self.values = values
|
||||
self.parent = parent
|
||||
|
||||
@property
|
||||
def start_pos(self):
|
||||
"""Overwriting the original start_pos property."""
|
||||
return self._start_pos
|
||||
|
||||
|
||||
class FakeImport(pr.Import):
|
||||
def __init__(self, name, parent, level=0):
|
||||
|
||||
Reference in New Issue
Block a user