Closed natfarleydev closed 7 years ago
Recently I came across a problem: when @onerror and @getargs are used in conjunction, both use the keyword argument text which clashes. E.g.
@onerror
@getargs
text
@onerror @getargs async def f(self, msg): # etc.
means that getargs ends up with two text keyword arguments. If instead we went with the pattern:
@onerror() @getargs() async def f(self, msg): # etc.
these kinds of problems would largely disappear.
This is now the case.
Recently I came across a problem: when
@onerror
and@getargs
are used in conjunction, both use the keyword argumenttext
which clashes. E.g.means that getargs ends up with two
text
keyword arguments. If instead we went with the pattern:these kinds of problems would largely disappear.