summaryrefslogtreecommitdiff
path: root/Doc/tutorial/classes.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-07-04 19:58:12 +0200
committerGeorg Brandl <georg@python.org>2011-07-04 19:58:12 +0200
commit5cb4efc23896173e283b5ed627a68da2eb57130d (patch)
tree90216a70bc8cee3c5ed114c376414ea417bfac3f /Doc/tutorial/classes.rst
parent2515f007a9b6a4a65e3ef8514f5d425c2d17a8ec (diff)
parent268982261f726df46804b1a23dc09ecece24cdc1 (diff)
downloadcpython-5cb4efc23896173e283b5ed627a68da2eb57130d.tar.gz
Merge with 3.2.
Diffstat (limited to 'Doc/tutorial/classes.rst')
-rw-r--r--Doc/tutorial/classes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index bf1e26e123..336d0740dd 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -695,9 +695,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: