diff --git a/src/parse.py b/src/parse.py index 92e9278..57bbb3b 100644 --- a/src/parse.py +++ b/src/parse.py @@ -45,7 +45,7 @@ self.context = context self.error = error - def __repr__(self): + def __str__(self): return "ParseError(context %s, error '%s')" % (self.context, self.error)