diff --git a/runtime/Python3/src/antlr4/PredictionContext.py b/runtime/Python3/src/antlr4/PredictionContext.py index e3736ad2e..7cbb7e49e 100644 --- a/runtime/Python3/src/antlr4/PredictionContext.py +++ b/runtime/Python3/src/antlr4/PredictionContext.py @@ -158,7 +158,7 @@ class SingletonPredictionContext(PredictionContext): class EmptyPredictionContext(SingletonPredictionContext): def __init__(self): - super().__init__(None, self.EMPTY_RETURN_STATE) + super().__init__(None, PredictionContext.EMPTY_RETURN_STATE) def isEmpty(self): return True