MCPcopy 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

1class A:
2 def spam(self):
3 print('A.spam')
4
5class B(A):
6 def spam(self):

Callers 2

spamMethod · 0.45
example1.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected