Commit 73aa3651 authored by Stefan Behnel's avatar Stefan Behnel

simplify code

parent 5607fabd
......@@ -50,5 +50,5 @@ class UnrecognizedInput(PlexError):
self.state_name = state_name
def __str__(self):
return ("'%s', line %d, char %d: Token not recognised in state %s" % (
self.position + (repr(self.state_name),)))
return ("'%s', line %d, char %d: Token not recognised in state %r" % (
self.position + (self.state_name,)))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment