Added a __repr__ for Irc objects.

This commit is contained in:
Jeremy Fincher 2004-07-29 18:28:43 +00:00
parent 2a17e0eb54
commit aeda0833d2

View File

@ -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: