There was an error while loading. Please reload this page.
1 parent 2b29ab1 commit 52d3e7eCopy full SHA for 52d3e7e
1 file changed
Doc/tutorial/classes.rst
@@ -673,9 +673,9 @@ example, the following code will print B, C, D in that order::
673
class D(C):
674
pass
675
676
- for c in [B, C, D]:
+ for cls in [B, C, D]:
677
try:
678
- raise c()
+ raise cls()
679
except D:
680
print("D")
681
except C:
0 commit comments