Skip to content

Commit 269a8d3

Browse files
alexfiklinducer
authored andcommitted
fix: remove useless else (RUF047)
1 parent 4643e1f commit 269a8d3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arraycontext/container/traversal.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ def rec(*args_: Any) -> Any:
153153
iterable_template = serialize_container(template_ary)
154154
except NotAnArrayContainerError:
155155
return f(*args_)
156-
else:
157-
pass
158156

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

0 commit comments

Comments
 (0)