Use lshift for tree combination

This commit is contained in:
Jan Petykiewicz 2023-01-31 15:31:22 -08:00
parent 7da6f5126b
commit 02da37a890

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)