]> granicus.if.org Git - python/commitdiff
Fix typo in __slots__ of ImmutableSet.
authorGuido van Rossum <guido@python.org>
Mon, 19 Aug 2002 16:29:58 +0000 (16:29 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 19 Aug 2002 16:29:58 +0000 (16:29 +0000)
Lib/sets.py

index 1072dd2946424d4d7188c33c0e19a806ff47234c..2d44c286665be0eb14a6c1cba46fca56c5a89bd8 100644 (file)
@@ -273,7 +273,7 @@ class BaseSet(object):
 class ImmutableSet(BaseSet):
     """Immutable set class."""
 
-    __slots__ = ['_hash']
+    __slots__ = ['_hashcode']
 
     # BaseSet + hashing