missing import

This commit is contained in:
Jan Petykiewicz 2023-02-06 19:00:56 -08:00 committed by jan
parent 19ac45a4f4
commit 59a986546c

View File

@ -1042,6 +1042,7 @@ class Tree(MutableLibrary):
@classmethod
def mk(cls, top: str) -> Tuple['Tree', 'Pattern']:
from .pattern import Pattern
tree = cls(top=top)
pat = Pattern()
tree[top] = pat