diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-07-19 01:27:26 -0500 |
---|---|---|
committer | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-07-19 01:27:26 -0500 |
commit | 11cdffe3dff0449d7f49c90aaefb572c01ddb580 (patch) | |
tree | 21223cfbd9868020f4a43b26d19b880f6163378e /pyparsing/actions.py | |
parent | 31679fac4fb3811004e5dc09c1465d7117edc830 (diff) | |
download | pyparsing-git-11cdffe3dff0449d7f49c90aaefb572c01ddb580.tar.gz |
Replace last-century '%' string interp with .format() usage
Diffstat (limited to 'pyparsing/actions.py')
-rw-r--r-- | pyparsing/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyparsing/actions.py b/pyparsing/actions.py index 921b23f..0c185ab 100644 --- a/pyparsing/actions.py +++ b/pyparsing/actions.py @@ -11,7 +11,7 @@ def matchOnlyAtCol(n): def verifyCol(strg, locn, toks): if col(locn, strg) != n: - raise ParseException(strg, locn, "matched token not at column %d" % n) + raise ParseException(strg, locn, "matched token not at column {}".format(n)) return verifyCol |