Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ add_parent
Method
add_parent
Lib/test/test_urllib2.py:436–438 ·
view source on GitHub ↗
(self, parent)
Source
from the content-addressed store, hash-verified
434
pass
435
436
def
add_parent(self, parent):
437
self.parent = parent
438
self.parent.calls = []
439
440
def
__lt__(self, other):
441
if
not hasattr(other,
"handler_order"
):
Callers
1
add_ordered_mock_handlers
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected