8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba6628 commit 4f92357Copy full SHA for 4f92357
html5lib/_trie/_base.py
@@ -1,6 +1,9 @@
1
from __future__ import absolute_import, division, unicode_literals
2
3
-from collections import Mapping
+try:
4
+ from collections.abc import Mapping
5
+except ImportError: # Python 2.7
6
+ from collections import Mapping
7
8
9
class Trie(Mapping):
html5lib/treebuilders/dom.py
@@ -1,7 +1,10 @@
from __future__ import absolute_import, 7C39 division, unicode_literals
-from collections import MutableMapping
+ from collections.abc import MutableMapping
+ from collections import MutableMapping
from xml.dom import minidom, Node
import weakref
10
0 commit comments