Added a comment.

This commit is contained in:
Jeremy Fincher 2003-12-06 14:16:18 +00:00
parent 1dfca188e9
commit 12fff1941e

View File

@ -356,10 +356,10 @@ def unDccIP(i):
L.reverse() L.reverse()
return '.'.join(imap(str, L)) return '.'.join(imap(str, L))
class IrcString(str): class _IrcString(str):
"""This class does case-insensitive comparison and hashing of nicks.""" """This class does case-insensitive comparison and hashing of nicks."""
def __init__(self, s): def __init__(self, s):
str.__init__(self, intern(s)) str.__init__(self, intern(s)) # This does nothing, I fear.
self.lowered = toLower(s) self.lowered = toLower(s)
def __eq__(self, s): def __eq__(self, s):