aboutsummaryrefslogtreecommitdiff
path: root/structs.py
diff options
context:
space:
mode:
Diffstat (limited to 'structs.py')
-rw-r--r--structs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/structs.py b/structs.py
index 6dea1d5..c3e344c 100644
--- a/structs.py
+++ b/structs.py
@@ -131,7 +131,7 @@ class String(Literal, T.String):
def __init__(self, value):
super().__init__(value, T.String)
def __str__(self):
- return f'"{self.value}"'
+ return f'"{repr(self.value)[1:-1]}"'
class Type:
def __init__(self, name):