Skip to content

Commit b2a4672

Browse files
committed
Drop deprecated 'tag' argument to cross_rank_trace_pairs
1 parent 9b05a82 commit b2a4672

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

grudge/trace_pair.py

-11
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ def finish(self):
539539

540540
def cross_rank_trace_pairs(
541541
dcoll: DiscretizationCollection, ary: ArrayOrContainer,
542-
tag: Hashable = None,
543542
*, comm_tag: Hashable = None,
544543
volume_dd: DOFDesc | None = None) -> list[TracePair]:
545544
r"""Get a :class:`list` of *ary* trace pairs for each partition boundary.
@@ -580,16 +579,6 @@ def cross_rank_trace_pairs(
580579
if volume_dd.discretization_tag != DISCR_TAG_BASE:
581580
raise TypeError(f"expected a base-discretized DOFDesc, got '{volume_dd}'")
582581

583-
if tag is not None:
584-
warn("Specifying 'tag' is deprecated and will stop working in July of 2022. "
585-
"Specify 'comm_tag' (keyword-only) instead.",
586-
DeprecationWarning, stacklevel=2)
587-
if comm_tag is not None:
588-
raise TypeError("may only specify one of 'tag' and 'comm_tag'")
589-
else:
590-
comm_tag = tag
591-
del tag
592-
593582
# }}}
594583

595584
if isinstance(ary, Number):

0 commit comments

Comments
 (0)