2188
2188
token_duration = Token(re.compile(r"P"), None,
2189
2189
frozenset((token_year, token_month,
2193
2193
value = datetime.timedelta() # Value so far
2196
2196
s = duration # String left to parse
2197
2197
# Loop until end token is found
2198
2198
while found_token is not token_end: