Add a Name.get_parent_stmt() function.

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

No files matched your search

+1 -1
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