Skip to content

Commit 8c9c66c

Browse files
Fix typo in example
1 parent ba68fe9 commit 8c9c66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/Classes/CallsToInitDel/examples/SuperclassInitCalledMultipleTimesGood2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def __init__(self):
1414
self.c = 2
1515

1616
class D(B,C):
17-
def __init__(self): # GOOD: Each method calls super, so each init method runs once. self.stat =e will be set to "B".
17+
def __init__(self): # GOOD: Each method calls super, so each init method runs once. self.state will be set to "B".
1818
super().__init__()
1919
self.d = 1
2020

0 commit comments

Comments
 (0)