fix: use input string in task 2
This commit is contained in:
@@ -28,6 +28,6 @@ def tokenize(string: str) -> Iterable[Token]:
|
||||
elif c == " ":
|
||||
pass
|
||||
else:
|
||||
raise SyntaxError()
|
||||
raise SyntaxError(f"Недопустимый символ: {c}")
|
||||
if buffer:
|
||||
yield Integer.create_from_string(_take_buffer())
|
||||
|
||||
Reference in New Issue
Block a user