From 065d138ca3013a4d1ef1aa3d7c48982d8bee5de2 Mon Sep 17 00:00:00 2001 From: mryouse Date: Sat, 18 Jun 2022 02:01:02 +0000 Subject: remove typedlists, as we're not there yet --- structs.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'structs.py') diff --git a/structs.py b/structs.py index 1956c4b..b5ea24a 100644 --- a/structs.py +++ b/structs.py @@ -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")) -- cgit v1.2.3