Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ A
Class
A
src/8/calling_a_method_on_a_parent_class/example3.py:17–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
16
if
__name__ ==
'__main__'
:
17
class
A:
18
def
__init__(self, x):
19
self.x = x
20
def
spam(self):
21
print(
'A.spam'
)
22
23
a = A(42)
24
p = Proxy(a)
Callers
1
example3.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected