Skip to content

Commit b8c83c2

Browse files
committed
Add missing type annotation
1 parent a2e60e4 commit b8c83c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/cases_generator/analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def analyze_caches(inputs: list[parser.InputEffect]) -> list[CacheEntry]:
356356
def analyze_deferred_refs(node: parser.InstDef) -> dict[lexer.Token, str | None]:
357357
"""Look for PyStackRef_FromPyObjectNew() calls"""
358358

359-
def find_assignment_target(idx) -> list[lexer.Token]:
359+
def find_assignment_target(idx: int) -> list[lexer.Token]:
360360
"""Find the tokens that make up the left-hand side of an assignment"""
361361
offset = 1
362362
for tkn in reversed(node.block.tokens[:idx-1]):

0 commit comments

Comments
 (0)