Skip to content

Commit

Permalink
FIX: zip() only supports the keyword strict with 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
d-krupke committed Oct 27, 2023
1 parent e82baa4 commit 65b3a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgshop_pyutils24/io/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def parse_solution(data: typing.Dict):
raise BadSolutionFile(msg)

for list_pos, (item_idx, x_tl, y_tl) in enumerate(
zip(item_indices, x_translations, y_translations, strict=True)
zip(item_indices, x_translations, y_translations)
):
if not isinstance(item_idx, int):
msg = "Item indices must be integers."
Expand Down

0 comments on commit 65b3a80

Please sign in to comment.