回答編集履歴
1
これで合ってる?
test
CHANGED
@@ -24,6 +24,8 @@
|
|
24
24
|
|
25
25
|
def func2(self):
|
26
26
|
|
27
|
+
self.func1()
|
28
|
+
|
27
29
|
print("ChildA")
|
28
30
|
|
29
31
|
|
@@ -31,6 +33,8 @@
|
|
31
33
|
class ChildB(Parent):
|
32
34
|
|
33
35
|
def func3(self):
|
36
|
+
|
37
|
+
self.func1()
|
34
38
|
|
35
39
|
print("ChildB")
|
36
40
|
|