mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-30 23:41:06 -05: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):
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user