From 30322c42b6eef134f1fc7f7fc79653f0c8dcd239 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 20 Apr 2003 09:33:41 +0000 Subject: [PATCH] Changed nick class to use __slots__. --- src/ircutils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ircutils.py b/src/ircutils.py index dc7050ed8..26198b09a 100644 --- a/src/ircutils.py +++ b/src/ircutils.py @@ -234,6 +234,7 @@ def shrinkList(L, sep='', limit=425): class nick(str): """This class does case-insensitive comparisons of nicks.""" + __slots__ = ('lowered',) def __init__(self, s): self.lowered = toLower(s)