matmod/common.py
2024-04-15 00:08:00 -04:00

4 lines
111 B
Python

from typing import Set
def set_to_str(x: Set) -> str:
return "{" + ", ".join((str(xi) for xi in x)) + "}"