Use lshift for tree combination
This commit is contained in:
parent
103eb4f1f8
commit
f642c226c7
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user