mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Added a comment.
This commit is contained in:
parent
1dfca188e9
commit
12fff1941e
@ -356,10 +356,10 @@ def unDccIP(i):
|
||||
L.reverse()
|
||||
return '.'.join(imap(str, L))
|
||||
|
||||
class IrcString(str):
|
||||
class _IrcString(str):
|
||||
"""This class does case-insensitive comparison and hashing of nicks."""
|
||||
def __init__(self, s):
|
||||
str.__init__(self, intern(s))
|
||||
str.__init__(self, intern(s)) # This does nothing, I fear.
|
||||
self.lowered = toLower(s)
|
||||
|
||||
def __eq__(self, s):
|
||||
|
Loading…
Reference in New Issue
Block a user