mirror of https://github.com/jesopo/irctokens
add __repr__ to Line
This commit is contained in:
parent
f1a1079873
commit
9e5afb9f16
|
@ -48,6 +48,9 @@ class Line(object):
|
|||
return self.format() == other.format()
|
||||
else:
|
||||
return False
|
||||
def __repr__(self) -> str:
|
||||
return (f"Line(tag={self.tags}, source={self.source}"
|
||||
f", command={self.command}, params={self.params})")
|
||||
|
||||
_hostmask: typing.Optional[Hostmask] = None
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue