missing import

This commit is contained in:
Jan Petykiewicz 2023-02-06 19:00:56 -08:00
parent a1c4cdee1e
commit dc2c12c26f

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