1
0
forked from VimPlug/jedi

Add a Name.get_parent_stmt() function.

This commit is contained in:
Dave Halter
2014-09-05 22:26:55 +02:00
parent 6c07c7acfe
commit 99116cdcb7
3 changed files with 13 additions and 7 deletions

View File

@@ -154,7 +154,7 @@ class BaseDefinition(object):
if isinstance(stripped, iterable.Array):
return 'instance'
string = type(stripped).__name__.lower().replace('wrapper', '')
if string == 'exprstatement':
if string == 'exprstmt':
return 'statement'
else:
return string