commit | 52d3e7e6a59954bd375369843dabdea23bb1dfd3 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Mon Mar 07 08:31:52 2011 +0100 |
committer | Georg Brandl <georg@python.org> | Mon Mar 07 08:31:52 2011 +0100 |
tree | 79c1714716ff86b1f8109e5040f7fde890662d47 | |
parent | 2b29ab1392a826baeaa9aab0deb47370db365524 [diff] |
Name c -> cls in example.
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 576ef3a..a0f2431 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst
@@ -673,9 +673,9 @@ 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: