Skip to content

Commit 9f0934b

Browse files
committed
tag_axes: allow containers
1 parent 5e978be commit 9f0934b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arraycontext/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def permits_advanced_indexing(self) -> bool:
649649
def tag_axes(
650650
actx: ArrayContext,
651651
dim_to_tags: Mapping[int, ToTagSetConvertible],
652-
ary: ArrayT) -> ArrayT:
652+
ary: ArrayOrContainerT) -> ArrayOrContainerT:
653653
"""
654654
Return a copy of *ary* with the axes in *dim_to_tags* tagged with their
655655
corresponding tags. Equivalent to repeated application of

0 commit comments

Comments
 (0)