http://hg.python.org/cpython/rev/88fe1ac48460 changeset: 68314:88fe1ac48460 user: Georg Brandl <georg at python.org> date: Mon Mar 07 08:31:52 2011 +0100 summary: Name c -> cls in example. files: Doc/tutorial/classes.rst diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst --- 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: -- Repository URL: http://hg.python.org/cpython