mirror of
https://github.com/Brandon-Rozek/matmod.git
synced 2025-05-17 09:41:41 +00:00
7 lines
199 B
Python
7 lines
199 B
Python
from typing import Set
|
|
|
|
def immutable(_self, _name, _value):
|
|
raise Exception("Model values are immutable")
|
|
|
|
def set_to_str(x: Set) -> str:
|
|
return "{" + ", ".join((str(xi) for xi in x)) + "}"
|