Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd407d5 + d0b9158 commit 0fa4746Copy full SHA for 0fa4746
1 file changed
Doc/library/re.rst
@@ -1465,7 +1465,7 @@ successive matches::
1465
elif kind == 'SKIP':
1466
pass
1467
elif kind == 'MISMATCH':
1468
- raise RuntimeError('%r unexpected on line %d' % (value, line_num))
+ raise RuntimeError(f'{value!r} unexpected on line {line_num}')
1469
else:
1470
if kind == 'ID' and value in keywords:
1471
kind = value
0 commit comments