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
|
from .pattern import Pattern
|
||||||
pat = Pattern()
|
pat = Pattern()
|
||||||
self[name] = pat
|
self[name] = pat
|
||||||
return pat
|
return name, pat
|
||||||
|
|
||||||
def add(
|
def add(
|
||||||
self,
|
self,
|
||||||
|
Loading…
Reference in New Issue
Block a user