Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ Number
Class
Number
src/8/implementing_the_visitor_pattern/example.py:31–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
pass
30
31
class
Number(Node):
32
def
__init__(self, value):
33
self.value = value
34
35
# --- The visitor base class
36
Callers
1
example.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected