Add __repr__ to utils.irc.IRCArgs

This commit is contained in:
jesopo 2018-11-05 10:03:20 +00:00
parent c1e9825a33
commit 66ee3ce5f1

View file

@ -61,6 +61,8 @@ class IRCArgs(object):
return self._args[index]
return None
def __repr__(self):
return "IRCArgs(%s)" % self._args
def __len__(self) -> int:
return len(self._args)
def __getitem__(self, index) -> str: