Skip to content

Commit

Permalink
clarify a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Jan 7, 2024
1 parent 6e04ed5 commit afb3215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vyper/ast/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ def visit_For(self, node):

try:
annotation = python_ast.parse(raw_annotation, mode="eval")
# enhance the Python AST tree with token and source code information, specifically the
# `first_token` and `last_token` attributes that are accessed in `generic_visit`.
# annotate with token and source code information. `first_token`
# and `last_token` attributes are accessed in `generic_visit`.
tokens = asttokens.ASTTokens(raw_annotation)
tokens.mark_tokens(annotation)
except SyntaxError as e:
Expand Down

0 comments on commit afb3215

Please sign in to comment.