Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setContentHandler
Method
setContentHandler
Lib/test/test_pulldom.py:239–240 ·
view source on GitHub ↗
(self, handler)
Source
from the content-addressed store, hash-verified
237
ensure it emits the correct events
""
"
238
239
def
setContentHandler(self, handler):
240
self._handler = handler
241
242
def
parse(self, _):
243
h = self._handler
Callers
15
test_5027_1
Method · 0.45
test_filter_basic
Method · 0.45
test_expat_binary_file
Method · 0.45
test_expat_text_file
Method · 0.45
test_expat_binary_file_nonascii
Method · 0.45
test_expat_binary_file_bytes_name
Method · 0.45
test_expat_binary_file_int_name
Method · 0.45
test_expat_entityresolver_enabled
Method · 0.45
test_expat_entityresolver_default
Method · 0.45
test_expat_attrs_empty
Method · 0.45
test_expat_attrs_wattr
Method · 0.45
test_expat_nsattrs_empty
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected