forked from VimPlug/jedi
Fix the remaining fast parser issues.
This commit is contained in:
@@ -66,7 +66,7 @@ class DocstringMixin(object):
|
||||
if isinstance(self, SubModule):
|
||||
stmt = self.children[0]
|
||||
else:
|
||||
stmt = self.children[-1]
|
||||
stmt = self.children[self.children.index(':') + 1]
|
||||
if is_node(stmt, 'suite'): # Normally a suite
|
||||
stmt = stmt.children[2] # -> NEWLINE INDENT stmt
|
||||
if is_node(stmt, 'simple_stmt'):
|
||||
|
||||
Reference in New Issue
Block a user