diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-08-19 23:09:15 -0500 |
---|---|---|
committer | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-08-19 23:09:15 -0500 |
commit | 1add43913c92157add7823e58e961a20fcf5c31c (patch) | |
tree | ea88eab8473b0e729f1e32bec1607e391ef16dc1 /pyparsing/helpers.py | |
parent | 508750e836c67f95856824b97d3893c6009dda8f (diff) | |
download | pyparsing-git-1add43913c92157add7823e58e961a20fcf5c31c.tar.gz |
Fix enum auto() incompat with Py3.5
Diffstat (limited to 'pyparsing/helpers.py')
-rw-r--r-- | pyparsing/helpers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyparsing/helpers.py b/pyparsing/helpers.py index d013975..00f311b 100644 --- a/pyparsing/helpers.py +++ b/pyparsing/helpers.py @@ -595,8 +595,8 @@ def replaceHTMLEntity(t): class opAssoc(Enum): - LEFT = auto() - RIGHT = auto() + LEFT = 1 + RIGHT = 2 def infixNotation(baseExpr, opList, lpar=Suppress("("), rpar=Suppress(")")): |