Kaydet (Commit) 52d3e7e6 authored tarafından Georg Brandl's avatar Georg Brandl

Name c -> cls in example.

üst 2b29ab13
......@@ -673,9 +673,9 @@ example, the following code will print B, C, D in that order::
class D(C):
pass
for c in [B, C, D]:
for cls in [B, C, D]:
try:
raise c()
raise cls()
except D:
print("D")
except C:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment