Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ endElement
Method
endElement
Lib/xml/dom/pulldom.py:127–129 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
125
self.push(node)
126
127
def
endElement(self, name):
128
self.lastEvent[1] = [(END_ELEMENT, self.pop()), None]
129
self.lastEvent = self.lastEvent[1]
130
131
def
comment(self, s):
132
if
self.document:
Callers
3
parse
Method · 0.45
parse
Method · 0.45
testSAX2DOM
Method · 0.45
Calls
1
pop
Method · 0.95
Tested by
3
parse
Method · 0.36
parse
Method · 0.36
testSAX2DOM
Method · 0.36