mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +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):
|
||||
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…
Reference in New Issue
Block a user