summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Coales <joshua@coales.co.uk>2020-07-19 06:37:07 +0100
committerGitHub <noreply@github.com>2020-07-19 00:37:07 -0500
commit31679fac4fb3811004e5dc09c1465d7117edc830 (patch)
tree053abb8a07c1c1f0bd39c5109e4897e56854882f
parentbd5708154a3707c6eac61e59eca3293d59251244 (diff)
downloadpyparsing-git-31679fac4fb3811004e5dc09c1465d7117edc830.tar.gz
Fixing generated default name for QuotedString (#229)
Looks like an issue in changing the type of string format used
-rw-r--r--pyparsing/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyparsing/core.py b/pyparsing/core.py
index 977aabc..a63f6e1 100644
--- a/pyparsing/core.py
+++ b/pyparsing/core.py
@@ -2602,7 +2602,7 @@ class QuotedString(Token):
self.mayReturnEmpty = True
def _generateDefaultName(self):
- return "quoted string, starting with %s ending with {}".format(
+ return "quoted string, starting with {} ending with {}".format(
self.quoteChar, self.endQuoteChar,
)