Spelling fixes (#11940)

This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2018-01-27 11:58:27 -08:00
1 parent 94316f07a2
commit 55ee8959ba
80 files changed
+110 -110

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ class OrderedSet(MutableSet):
return '%s(%r)' % (self.__class__.__name__, list(self))
def __eq__(self, other):
"""Return the comparision."""
"""Return the comparison."""
if isinstance(other, OrderedSet):
return len(self) == len(other) and list(self) == list(other)
return set(self) == set(other)