1 parent 7dcaa32 commit 42e6972Copy full SHA for 42e6972
1 file changed
parglare/glr.py
@@ -1,5 +1,6 @@
1
from functools import reduce
2
from itertools import takewhile
3
+from typing import Dict
4
5
from parglare import Parser
6
from parglare import termui as t
@@ -986,7 +987,7 @@ def __init__(
986
987
self.debug = debug
988
989
# Parents keyed by root node id
- self.parents: dict[int, Parent] = {}
990
+ self.parents: Dict[int, Parent] = {}
991
992
def create_link(self, parent):
993
parent.head = self
0 commit comments