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

simplify code

parent 5607fabd
...@@ -50,5 +50,5 @@ class UnrecognizedInput(PlexError): ...@@ -50,5 +50,5 @@ class UnrecognizedInput(PlexError):
self.state_name = state_name self.state_name = state_name
def __str__(self): def __str__(self):
return ("'%s', line %d, char %d: Token not recognised in state %s" % ( return ("'%s', line %d, char %d: Token not recognised in state %r" % (
self.position + (repr(self.state_name),))) 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