mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Added a __repr__ for Irc objects.
This commit is contained in:
parent
2a17e0eb54
commit
aeda0833d2
@ -737,5 +737,8 @@ class Irc(IrcCommandDispatcher):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return 'Irc object for %s' % self.network
|
return 'Irc object for %s' % self.network
|
||||||
|
|
||||||
|
def __repr__(self):
|
||||||
|
return '<irclib.Irc object for %s>' % self.network
|
||||||
|
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
Loading…
Reference in New Issue
Block a user