diff options
| -rw-r--r-- | structs.py | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -106,13 +106,3 @@ class List: def __str__(self): return "(" + " ".join(f"{arg}" for arg in self.args) + ")" -class TypedList(List): - def __init__(self, args, data=True, type_=Type("string")): - super().__init__(args, data) - self.type_ = type_ - def __str__(self): - return super().__str__() + f"{self.type_}" - -class Strings(TypedList): - def __init__(self, args, data=True): - super().__init__(args, data, Type(":string")) |
