Use lshift for tree combination
This commit is contained in:
parent
7da6f5126b
commit
02da37a890
@ -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