mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-10 12:59:22 +01:00
Changed nick class not to use __slots__.
This commit is contained in:
parent
30322c42b6
commit
b3e6c686a4
@ -234,7 +234,6 @@ def shrinkList(L, sep='', limit=425):
|
|||||||
|
|
||||||
class nick(str):
|
class nick(str):
|
||||||
"""This class does case-insensitive comparisons of nicks."""
|
"""This class does case-insensitive comparisons of nicks."""
|
||||||
__slots__ = ('lowered',)
|
|
||||||
def __init__(self, s):
|
def __init__(self, s):
|
||||||
self.lowered = toLower(s)
|
self.lowered = toLower(s)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user