Add __repr__ to utils.irc.IRCArgs
This commit is contained in:
parent
c1e9825a33
commit
66ee3ce5f1
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue