fix return value
This commit is contained in:
parent
5b1abf5f72
commit
0a14325af8
@ -504,7 +504,7 @@ class MutableLibrary(Library, MutableMapping[str, 'Pattern'], metaclass=ABCMeta)
|
||||
from .pattern import Pattern
|
||||
pat = Pattern()
|
||||
self[name] = pat
|
||||
return pat
|
||||
return name, pat
|
||||
|
||||
def add(
|
||||
self,
|
||||
|
Loading…
Reference in New Issue
Block a user