回答編集履歴
1
fixed typo
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
def __init__(self):
|
14
14
|
|
15
|
-
testA.__init_(self) # 追記
|
15
|
+
testA.__init__(self) # 追記
|
16
16
|
|
17
17
|
self.y = self.x + 10 # self.x で testA のインスタンス変数にアクセスできる
|
18
18
|
|