Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ example.py
File
example.py
src/4/delegating-iteration/example.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Example of delegating iteration to an internal container
2
3
class
Node:
4
def
__init__(self, value):
Callers
nothing calls this directly
Calls
2
Node
Class · 0.70
add_child
Method · 0.45
Tested by
no test coverage detected