Skip to content

Commit

Permalink
fix nested "
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-rudolph committed Nov 14, 2024
1 parent 18f2d53 commit 3afc410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pydiverse/transform/_internal/ops/op.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ def return_type(self, signature: Sequence[Dtype]) -> Dtype:
if match is None:
raise TypeError(
f"operator `{self.name}` cannot be called with arguments of type "
f"{", ".join(str(t) for t in signature)}"
f'{", ".join(str(t) for t in signature)}'
)
return match[1]
2 changes: 1 addition & 1 deletion src/pydiverse/transform/_internal/tree/col_expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ def dtype(self):
)
):
raise TypeError(
f"incompatible types `{", ".join(val_types)}` in case expression."
f'incompatible types `{", ".join(val_types)}` in case expression.'
)

if any(cond.dtype() is None for cond, _ in self.cases):
Expand Down

0 comments on commit 3afc410

Please sign in to comment.