MCPcopy 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
3class Node:
4 def __init__(self, value):

Callers

nothing calls this directly

Calls 2

NodeClass · 0.70
add_childMethod · 0.45

Tested by

no test coverage detected