Immutable arg default values leads to weird data persistence
This commit is contained in:
parent
34f9ee3c9c
commit
f0dee5ebd6
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Hostmask(object):
|
|||
class ParsedLine(object):
|
||||
def __init__(self, command: str, args: typing.List[str],
|
||||
prefix: Hostmask=None,
|
||||
tags: typing.Dict[str, str]={}):
|
||||
tags: typing.Dict[str, str]=None):
|
||||
self.command = command
|
||||
self._args = args
|
||||
self.args = IRCArgs(args)
|
||||
|
|
Loading…
Reference in a new issue