From faca9e30b5ee86582cb7e996f963e1aee0f5f4ad Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Thu, 9 Aug 2018 12:31:49 +0200 Subject: fix issue #175 exception while raising error --- tokens.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tokens.py') diff --git a/tokens.py b/tokens.py index 54a8bd7..72c4f48 100644 --- a/tokens.py +++ b/tokens.py @@ -74,7 +74,7 @@ class Token(object): # nprint('mco2:', self, target, target.comment, empty) return self if c[0] and tc[0] or c[1] and tc[1]: - raise NotImplementedError('overlap in comment %r %r' % c, tc) + raise NotImplementedError('overlap in comment %r %r' % (c, tc)) if c[0]: tc[0] = c[0] if c[1]: -- cgit v1.2.1