Skip to content

Commit 00239e4

Browse files
fix typo in comment
1 parent 8e99a07 commit 00239e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ def get_expr_length(builder: IRBuilder, expr: Expression) -> int | None:
12061206
# comps *can* be done as well but will need special logic to consider the possibility
12071207
# of key conflicts. Range, enumerate, zip are all simple logic.
12081208

1209-
# we might still be able to get the length direcly from the type
1209+
# we might still be able to get the length directly from the type
12101210
rtype = builder.node_type(expr)
12111211
if isinstance(rtype, RTuple):
12121212
return len(rtype.types)

0 commit comments

Comments
 (0)