Fix typo in example

This commit is contained in:
Joe Farebrother
2025-07-18 14:18:03 +01:00
parent ba68fe9a0f
commit 8c9c66c002

View File

@@ -14,7 +14,7 @@ class C(A):
self.c = 2
class D(B,C):
def __init__(self): # GOOD: Each method calls super, so each init method runs once. self.stat =e will be set to "B".
def __init__(self): # GOOD: Each method calls super, so each init method runs once. self.state will be set to "B".
super().__init__()
self.d = 1