summaryrefslogtreecommitdiffstats
path: root/Lib/sets.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-19 16:29:58 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-19 16:29:58 (GMT)
commit0b650d756572e33c923eb4998224da2d95dffaac (patch)
treea066929c665934d908978b7edc0ad9ce6e30785e /Lib/sets.py
parentd8ab35c933ec8f19dc119a67af896973a3849663 (diff)
downloadcpython-0b650d756572e33c923eb4998224da2d95dffaac.zip
cpython-0b650d756572e33c923eb4998224da2d95dffaac.tar.gz
cpython-0b650d756572e33c923eb4998224da2d95dffaac.tar.bz2
Fix typo in __slots__ of ImmutableSet.
Diffstat (limited to 'Lib/sets.py')
-rw-r--r--Lib/sets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sets.py b/Lib/sets.py
index 1072dd2..2d44c28 100644
--- a/Lib/sets.py
+++ b/Lib/sets.py
@@ -273,7 +273,7 @@ class BaseSet(object):
class ImmutableSet(BaseSet):
"""Immutable set class."""
- __slots__ = ['_hash']
+ __slots__ = ['_hashcode']
# BaseSet + hashing