fix add_tree operator
This commit is contained in:
parent
853c20e8df
commit
039320d180
1 changed files with 2 additions and 2 deletions
|
|
@ -1031,8 +1031,8 @@ class Tree(MutableLibrary):
|
|||
def __delitem__(self, key: str) -> None:
|
||||
del self.library[key]
|
||||
|
||||
def __lshift__(self, other: 'Tree') -> None:
|
||||
self.add_tree(other)
|
||||
def __lshift__(self, other: 'Tree') -> str:
|
||||
return self.add_tree(other)
|
||||
|
||||
|
||||
def _rename_patterns(lib: Library, name: str) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue