Kaydet (Commit) 0fa47469 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

merge

...@@ -1465,7 +1465,7 @@ successive matches:: ...@@ -1465,7 +1465,7 @@ successive matches::
elif kind == 'SKIP': elif kind == 'SKIP':
pass pass
elif kind == 'MISMATCH': elif kind == 'MISMATCH':
raise RuntimeError('%r unexpected on line %d' % (value, line_num)) raise RuntimeError(f'{value!r} unexpected on line {line_num}')
else: else:
if kind == 'ID' and value in keywords: if kind == 'ID' and value in keywords:
kind = value kind = value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment