forked from VimPlug/jedi
fixed some decorator stuff.
This commit is contained in:
@@ -176,6 +176,11 @@ class ParserNode(object):
|
|||||||
if set_parent:
|
if set_parent:
|
||||||
for i in items:
|
for i in items:
|
||||||
i.parent = scope
|
i.parent = scope
|
||||||
|
try:
|
||||||
|
for d in i.decorators:
|
||||||
|
d.parent = scope
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
content += items
|
content += items
|
||||||
if str(parser.module.name) == 'ordering':
|
if str(parser.module.name) == 'ordering':
|
||||||
#print scope.subscopes
|
#print scope.subscopes
|
||||||
|
|||||||
Reference in New Issue
Block a user