Commit 040a2f4
committed
Corrects import of MutableMapping class for python 3.3+
MutableMapping class is now imported from collections.abc instead
of collections. This change was made to python standard library in
version 3.3. collections.MutableMapping has been provided for
backwards compatability up to python 3.7 but will no longer be
available from python 3.8.
A try/catch statement is used with the import to retain backwords
compatibility with python version < 3.3 including python 2.1 parent c639d9a commit 040a2f4
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
22 | | - | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
181 | 186 | | |
182 | 187 | | |
183 | 188 | | |
184 | | - | |
| 189 | + | |
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
| |||
0 commit comments