Browse code

Typo fixes.

Florent Viard authored on 2017/05/14 21:15:19
Showing 1 changed files
... ...
@@ -37,7 +37,7 @@ class SortedDict(dict):
37 37
     def keys(self):
38 38
         # TODO fix
39 39
         # Probably not anymore memory efficient on python2
40
-        # as now 2 copies ok keys to sort thems.
40
+        # as now 2 copies ok keys to sort them.
41 41
         keys = dict.keys(self)
42 42
         if self.ignore_case:
43 43
             # Translation map
... ...
@@ -74,7 +74,7 @@ if __name__ == "__main__":
74 74
         print("%s," % key, end=' ')
75 75
     print("   [used: __iter__()]")
76 76
     d = SortedDict(d, ignore_case = False)
77
-    print("Wanted: AWS, Action, Auckland, america,    [case sensitive]")
77
+    print("Wanted: AWS, Action, America, Auckland, america,    [case sensitive]")
78 78
     print("Got:   ", end=' ')
79 79
     for key in d.keys():
80 80
         print("%s," % key, end=' ')