Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 3aaeb48

Browse files
committed
Fixing PEP
1 parent 1155b3e commit 3aaeb48

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎sdc/rewrites/dataframe_constructor.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def gen_init_dataframe_text(func_name, n_cols):
183183
params = ', '.join(args_col_data + ['index'] + args_col_names)
184184
suffix = ('' if n_cols == 0 else ', ')
185185

186-
func_text = dedent(
186+
func_text = dedent(\
187187
f'''
188188
@intrinsic
189189
def {func_name}(typingctx, {params}):
@@ -236,8 +236,8 @@ def codegen(context, builder, sig, args):
236236
237237
data_lists = []
238238
for typ_id, typ in enumerate(types_order):
239-
data_list_typ = context.build_list(builder, data_list_type[typ_id],
240-
[data_arrs_transformed[data_id] for data_id in data_typs_map[typ][1]])
239+
data_arrs_of_typ = [data_arrs_transformed[data_id] for data_id in data_typs_map[typ][1]]
240+
data_list_typ = context.build_list(builder, data_list_type[typ_id], data_arrs_of_typ)
241241
data_lists.append(data_list_typ)
242242
243243
data_tup = context.make_tuple(

0 commit comments

Comments
 (0)