fix return value
This commit is contained in:
parent
94691dac85
commit
37e4c03547
@ -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