diff options
| author | mryouse | 2022-06-11 22:15:58 +0000 |
|---|---|---|
| committer | mryouse | 2022-06-11 22:15:58 +0000 |
| commit | 885bef21990ac0a5bc500f7c8af8a956f457c37b (patch) | |
| tree | 0e9036711d914f64680c535762df7e2545947e15 | |
| parent | 2dea2a15ff9c734c788beea4b91ebde58672fee4 (diff) | |
add List as a type
| -rw-r--r-- | structs.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -150,6 +150,7 @@ class List(T.List): def __init__(self, args, data=False): self.args = args self.data = data + self.type_ = T.List def __str__(self): return "(" + " ".join(f"{arg}" for arg in self.args) + ")" |
