From 1add43913c92157add7823e58e961a20fcf5c31c Mon Sep 17 00:00:00 2001 From: Paul McGuire Date: Wed, 19 Aug 2020 23:09:15 -0500 Subject: Fix enum auto() incompat with Py3.5 --- pyparsing/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyparsing/helpers.py') 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(")")): -- cgit v1.2.1