comma_sep_str_paren

hugr.utils.comma_sep_str_paren(items: Iterable[T]) str[source]

Join items with commas and str, wrapping them in parentheses if more than one.