matmod/common.py

5 lines
111 B
Python
Raw Normal View History

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