File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929 cmp = lambda a , b : (a > b ) - (a < b )
3030
3131 array_tobytes = array .array .tobytes
32+ from collections import abc
3233
3334else :
3435 text_type = unicode
5455 cmp = cmp
5556
5657 array_tobytes = array .array .tostring
57-
58+ import collections as abc
5859
5960number_types = integer_types + (float ,)
6061
Original file line number Diff line number Diff line change 1414
1515import os
1616import threading
17- from collections import MutableMapping
1817from itertools import chain
1918
20- from babel ._compat import pickle , string_types
19+ from babel ._compat import pickle , string_types , abc
2120
2221
2322_cache = {}
@@ -187,7 +186,7 @@ def resolve(self, data):
187186 return data
188187
189188
190- class LocaleDataDict (MutableMapping ):
189+ class LocaleDataDict (abc . MutableMapping ):
191190 """Dictionary wrapper that automatically resolves aliases to the actual
192191 values.
193192 """
You can’t perform that action at this time.
0 commit comments