diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-11-23 14:44:56 +0100 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-11-23 14:44:56 +0100 |
commit | b7e84e3fc5418641041f95a80f08fe053c004c27 (patch) | |
tree | a0e0865c87e8bd127df674b53b30f3e323c1b255 /compat.py | |
parent | b80f0a3c1f04c4446ab3f7ec019a3888fa098fab (diff) | |
download | logilab-common-b7e84e3fc5418641041f95a80f08fe053c004c27.tar.gz |
include Dotan Barak spell fixes patch
Diffstat (limited to 'compat.py')
-rw-r--r-- | compat.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -69,7 +69,7 @@ except NameError: return iter(self._data) class frozenset(_baseset): - """immutable set (can be set in dictionnaries)""" + """immutable set (can be set in dictionaries)""" def __init__(self, values=()): super(frozenset, self).__init__(values) self._hashcode = None @@ -107,10 +107,10 @@ except NameError: return self._data.popitem()[0] def __hash__(self): - """mutable et cannot be hashed.""" + """mutable set cannot be hashed.""" raise TypeError("set objects are not hashable") - del _baseset # don't explicity provide this class + del _baseset # don't explicitly provide this class try: from itertools import izip, chain, imap |