X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=plomrogue%2Fparser.py;h=a043bde4615f80474aaab11b974ddb2a87a48b0b;hb=673b5f17a66b9ff19d6d59a523b5c21e4ad3da73;hp=d1307a97701d3ef5c5eee6ecc2c16cfcb8d94282;hpb=d9c9b5b7d5cac2469ac075010c4d729e1adf0cc4;p=plomrogue2 diff --git a/plomrogue/parser.py b/plomrogue/parser.py index d1307a9..a043bde 100644 --- a/plomrogue/parser.py +++ b/plomrogue/parser.py @@ -1,4 +1,3 @@ -import unittest from plomrogue.errors import ArgError from plomrogue.mapping import YX @@ -102,8 +101,8 @@ class Parser: tmpl_tokens = signature.split() if len(tmpl_tokens) != len(args_tokens): raise ArgError('Number of arguments (' + str(len(args_tokens)) + - ') not expected number (' + str(len(tmpl_tokens)) - + ').') + ') not expected number (' + str(len(tmpl_tokens)) + + ').') args = [] string_string = 'string' for i in range(len(tmpl_tokens)):