Add Client.__repr__
This commit is contained in:
parent
3d6c41538b
commit
59d4c88701
|
@ -167,3 +167,6 @@ class Client(object):
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return u'<{}, {}>'.format(self.identifier, self.nick)
|
return u'<{}, {}>'.format(self.identifier, self.nick)
|
||||||
|
|
||||||
|
def __repr__(self):
|
||||||
|
return self.__str__()
|
||||||
|
|
Loading…
Reference in New Issue