Skip to content

Commit 159cfe1

Browse files
author
James Graham
committed
Remove dead code
1 parent f6c2703 commit 159cfe1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

html5lib/html5parser.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -749,14 +749,6 @@ def __init__(self, parser, tree):
749749
])
750750
self.endTagHandler.default = self.endTagOther
751751

752-
# helper
753-
def appendToHead(self, element):
754-
if self.tree.headPointer is not None:
755-
self.tree.headPointer.appendChild(element)
756-
else:
757-
assert self.parser.innerHTML
758-
self.tree.openElementsw[-1].appendChild(element)
759-
760752
# the real thing
761753
def processEOF (self):
762754
self.anythingElse()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy