Use lshift for tree combination

This commit is contained in:
Jan Petykiewicz 2023-01-31 15:31:22 -08:00 committed by jan
parent 103eb4f1f8
commit f642c226c7

View File

@ -1025,7 +1025,7 @@ class Tree(MutableLibrary):
def __delitem__(self, key: str) -> None: def __delitem__(self, key: str) -> None:
del self.library[key] del self.library[key]
def __iadd__(self, other: 'Tree') -> None: def __lshift__(self, other: 'Tree') -> None:
self.add_tree(other) self.add_tree(other)