summaryrefslogtreecommitdiff
path: root/compat.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2009-11-23 14:44:56 +0100
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2009-11-23 14:44:56 +0100
commitb7e84e3fc5418641041f95a80f08fe053c004c27 (patch)
treea0e0865c87e8bd127df674b53b30f3e323c1b255 /compat.py
parentb80f0a3c1f04c4446ab3f7ec019a3888fa098fab (diff)
downloadlogilab-common-b7e84e3fc5418641041f95a80f08fe053c004c27.tar.gz
include Dotan Barak spell fixes patch
Diffstat (limited to 'compat.py')
-rw-r--r--compat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat.py b/compat.py
index 4e24620..ad0e63a 100644
--- a/compat.py
+++ b/compat.py
@@ -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