Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ spam
Method
spam
src/8/calling_a_method_on_a_parent_class/example1.py:2–3 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1
class
A:
2
def
spam(self):
3
print(
'A.spam'
)
4
5
class
B(A):
6
def
spam(self):
Callers
2
spam
Method · 0.45
example1.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected