MCPcopy Create free account
hub / github.com/dabeaz/python-cookbook / B

Class B

src/8/calling_a_method_on_a_parent_class/example2.py:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3 self.x = 0
4
5class B(A):
6 def __init__(self):
7 super().__init__()
8 self.y = 1
9
10if __name__ == '__main__':
11 b = B()

Callers 1

example2.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected