Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ MockHandlerSubclass
Class
MockHandlerSubclass
Lib/test/test_urllib2.py:469–470 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
467
count = 0
468
for
meths in meth_spec:
469
class
MockHandlerSubclass(MockHandler):
470
pass
471
472
h = MockHandlerSubclass(meths)
473
h.handler_order += count
Callers
2
add_ordered_mock_handlers
Function · 0.70
test_handler_order
Method · 0.70
Calls
no outgoing calls
Tested by
2
add_ordered_mock_handlers
Function · 0.56
test_handler_order
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…