summaryrefslogtreecommitdiff
path: root/pyparsing/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyparsing/core.py')
-rw-r--r--pyparsing/core.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pyparsing/core.py b/pyparsing/core.py
index b9e63af..95fa18f 100644
--- a/pyparsing/core.py
+++ b/pyparsing/core.py
@@ -2606,9 +2606,7 @@ class Word(Token):
self.mayIndexError = False
self.asKeyword = asKeyword
- if " " not in self.initChars | self.bodyChars and (
- min == 1 and exact == 0
- ):
+ if " " not in self.initChars | self.bodyChars and (min == 1 and exact == 0):
if self.bodyChars == self.initChars:
if max == 0:
repeat = "+"