mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Added a comment.
This commit is contained in:
parent
1dfca188e9
commit
12fff1941e
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user