summaryrefslogtreecommitdiffhomepage
path: root/libs/html5lib/treebuilders/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/html5lib/treebuilders/base.py')
-rw-r--r--libs/html5lib/treebuilders/base.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/html5lib/treebuilders/base.py b/libs/html5lib/treebuilders/base.py
index 05d97eccc..e4a3d710d 100644
--- a/libs/html5lib/treebuilders/base.py
+++ b/libs/html5lib/treebuilders/base.py
@@ -10,9 +10,9 @@ Marker = None
listElementsMap = {
None: (frozenset(scopingElements), False),
- "button": (frozenset(scopingElements | set([(namespaces["html"], "button")])), False),
- "list": (frozenset(scopingElements | set([(namespaces["html"], "ol"),
- (namespaces["html"], "ul")])), False),
+ "button": (frozenset(scopingElements | {(namespaces["html"], "button")}), False),
+ "list": (frozenset(scopingElements | {(namespaces["html"], "ol"),
+ (namespaces["html"], "ul")}), False),
"table": (frozenset([(namespaces["html"], "html"),
(namespaces["html"], "table")]), False),
"select": (frozenset([(namespaces["html"], "optgroup"),
@@ -28,7 +28,7 @@ class Node(object):
:arg name: The tag name associated with the node
"""
- # The tag name assocaited with the node
+ # The tag name associated with the node
self.name = name
# The parent of the current node (or None for the document node)
self.parent = None