diff --git a/part1/calc1.py b/part1/calc1.py index b388699..9b2ccd1 100644 --- a/part1/calc1.py +++ b/part1/calc1.py @@ -9,7 +9,7 @@ class Token(object): def __init__(self, type, value): # token type: INTEGER, PLUS, or EOF self.type = type - # token value: 0, 1, 2. 3, 4, 5, 6, 7, 8, 9, '+', or None + # token value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, '+', or None self.value = value def __str__(self): @@ -17,7 +17,7 @@ def __str__(self): Examples: Token(INTEGER, 3) - Token(PLUS '+') + Token(PLUS, '+') """ return 'Token({type}, {value})'.format( type=self.type,