From: Georg Brandl Date: Mon, 7 Mar 2011 07:31:52 +0000 (+0100) Subject: Name c -> cls in example. X-Git-Tag: v3.3.0a1~2976 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52d3e7e6a59954bd375369843dabdea23bb1dfd3;p=python Name c -> cls in example. --- diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 576ef3a49c..a0f2431e5e 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -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: