diff options
Diffstat (limited to 'libpathod/language/exceptions.py')
-rw-r--r-- | libpathod/language/exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/language/exceptions.py b/libpathod/language/exceptions.py index c9d0b2f0..a65c7936 100644 --- a/libpathod/language/exceptions.py +++ b/libpathod/language/exceptions.py @@ -15,7 +15,7 @@ class ParseException(Exception): self.col = col def marked(self): - return "%s\n%s"%(self.s, " " * (self.col - 1) + "^") + return "%s\n%s" % (self.s, " " * (self.col - 1) + "^") def __str__(self): - return "%s at char %s"%(self.msg, self.col) + return "%s at char %s" % (self.msg, self.col) |