diff --git a/semantic-analysis/python.tsg b/semantic-analysis/python.tsg index 633092fd1..f2f114d8c 100644 --- a/semantic-analysis/python.tsg +++ b/semantic-analysis/python.tsg @@ -22,6 +22,7 @@ (import_statement name: (dotted_name (identifier) @id)) @this { edge @this.node -> @id.node + attr (@id.node) role = "module-name-fragment" attr (@this.node -> @id.node) index = (named-child-index @id) }