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
|
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