Skip to content

Commit c9545a1

Browse files
committed
fix attrerr
1 parent 32da5b9 commit c9545a1

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
@@ -1224,6 +1224,6 @@ def get_expr_length_value(
12241224
length = get_expr_length(expr)
12251225
if length is None:
12261226
# We cannot compute the length at compile time, so we will fetch it.
1227-
return builder.builtin_len(expr_reg, line, use_pyssize_t=use_pyssize_t)
1227+
return builder.builder.builtin_len(expr_reg, line, use_pyssize_t=use_pyssize_t)
12281228
# The expression result is known at compile time, so we can use a constant.
12291229
return Integer(length, c_pyssize_t_rprimitive if use_pyssize_t else short_int_rprimitive)

0 commit comments

Comments
 (0)