Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lshala committed Feb 7, 2025
1 parent 8dc2763 commit fb6e4cb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ class PythonLanguageFrontend(language: Language<PythonLanguageFrontend>, ctx: Tr
var type = type
val names = mutableListOf<String>()

// Traverse nested attributes (e.g., `modules.a.Foobar`) to reconstruct the full
// name.
// Traverse nested attributes (e.g., `modules.a.Foobar`)
while (type is Python.AST.Attribute) {
names.add(type.attr)
type = type.value
Expand Down

0 comments on commit fb6e4cb

Please sign in to comment.