Skip to content

Commit

Permalink
fix: remove useless else (RUF047)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Jan 26, 2025
1 parent 4643e1f commit 269a8d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arraycontext/container/traversal.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ def rec(*args_: Any) -> Any:
iterable_template = serialize_container(template_ary)
except NotAnArrayContainerError:
return f(*args_)
else:
pass

assert all(
type(args_[i]) is type(template_ary) for i in container_indices[1:]
Expand Down

0 comments on commit 269a8d3

Please sign in to comment.